Echelon LonTal Stack Manual de usuario Pagina 151

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 247
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 150
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
Vista de pagina 150
1 2 ... 146 147 148 149 150 151 152 153 154 155 156 ... 246 247

Comentarios a estos manuales

Sin comentarios