Echelon OpenLDV User Manual Page 68

  • Download
  • Add to my manuals
  • Print
  • Page
    / 194
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 67
60 Sending and Receiving Messages with the OpenLDV API
SICB application buffer structure is defined as a structure of type ExpAppBuffer
in the OpenLDVdefinitions.h header file.
Some immediate commands use only the first byte of the SICB bufferthe cmd
fieldof the application buffer, with no data payload. Other immediate
commands also include a data payload.
All other downlink and uplink message commands use the complete SICB
application buffer structure, as shown in Figure 6. The following sections
describe the application buffer structures.
Queue
Length
ExpMsgHdr
SendAddrDtl
or
RcvAddrDtl
or
RespAddrDtl
Command
UnprocessedNV
or
ExplicitMsg
Length
Application Layer
Header
Size=2
Message Header
Size=3
Network Address
Size=11
Message Data
Size=variable
Queue
Length
Layer 2 Header
NPDU
Command
CRC
Length
Application Layer Header
Size=2
Layer 2 Header
Size=1
Network Protocol Data Unit
Size=variable
CRC
Size=2
Layer 5 Buffer StructureLayer 2 Buffer Structure
Figure 6. SICB Application Buffer Detailed Structure
As described in Getting Started with the OpenLDV Driver on page 7, an
OpenLDV application can use a Layer 2 network interface or a Layer 5 network
interface:
Layer 2 Network InterfaceA network interface that communicates at
Layer 2 of the LonTalk protocol. This type of interface transports
LonTalk packets without processing them, and does not filter by network
address.
Layer 5 Network InterfaceA network interface that communicates at
Layer 5 of the LonTalk protocol. This type of interface transports
incoming LonTalk packets that are addressed to the network interface,
and transports outgoing packets that are addressed to other devices.
Page view 67
1 2 ... 63 64 65 66 67 68 69 70 71 72 73 ... 193 194

Comments to this Manuals

No comments