Service led, Socket interfaces, Lontalkstack source files – Echelon LonTal Stack User Manual
Page 151
LonTalk Stack Developer’s Guide
139
File/Folder
Description
MIP. The LonLink derived class is
implemented in LonLinkDcx.cpp and
LonLinkDcx.h.
By default, Linux will automatically use the provided Linux driver for the Serial
MIP. If you are using a different operating system, you need to modify the
#define LtLinkDefault statement in the
Source\Shared\include\LtLinkDefault.h file to reference your LonLink
derived class.
Service LED
To control the service LED, you need to override the virtual
setServicePinState() method of the LtLink object. The LonLink class is
derived from the LtLink base class.
Socket Interfaces
If your platform supports IP-852 interfaces, you need to provide target-specific
code to interface with sockets. The LonTalk Stack Developer’s Kit contains two
socket interface examples:
Socket Interface Example Files
Source\ShareIp\VxSockets.c
Source\VxLayer\VxWinSockets.c
LonTalkStack Source Files
The LonTalk Stack source files you need depends on whether your LonTalk Stack
device is an application device using a native LonWorks interface, an application
device using an IP-852 interface, an IP-852 Router, or a combination of these.
The follow table lists the files required for each device type (files are relative to
the Source directory):
File
App Device
(Native
LonWorks
Interface)
App Device
(IP-852
Interface)
IP-852
Router
FtxlApi\FtxlApi.cpp X
X
FtXlApi\FtXlStack.cpp X
X
Lre\LtIpPortClient.cpp X
X
X
Lre\LtLre.cpp X
X
X
Router\LtRouterApp.cpp
X
Shared\LonLink.cpp X
X
X
Shared\LtBlob.cpp X
X
X