Echelon LonTal Stack User Manual

Page 6

Advertising
background image

vi

LtLogicalChannel ................................................................................ 134

LtIp852Router ..................................................................................... 134

10

Porting a LonTalk Stack Application .........................................137

Porting Overview .......................................................................................138

OSAL ....................................................................................................138

LonLink Driver .................................................................................... 138

Service LED ......................................................................................... 139

Socket Interfaces ................................................................................. 139

LonTalkStack Source Files ................................................................. 139

Application-Specific Files for LonTalk Stack Devices....................... 141

Application-Specific Code for IP-852 Interfaces....................................... 141

Selecting the Device Type..........................................................................141

File System Requirements ........................................................................ 142

Appendix A LonTalk Interface Developer Command Line

Usage ................................................................................................................143

Overview ..................................................................................................... 144

Command Usage ........................................................................................ 144

Command Switches....................................................................................145

Specifying Buffers................................................................................ 147

Appendix B Model File Compiler Directives .......................................151

Using Model File Compiler Directives...................................................... 152

Acceptable Model File Compiler Directives.............................................. 152

Appendix C Neuron C Syntax for the Model File................................157

Functional Block Syntax............................................................................ 158

Keywords..............................................................................................158

Examples..............................................................................................160

Functional Block Properties Syntax ......................................................... 161

Keywords..............................................................................................161

Examples..............................................................................................162

Network Variable Syntax .......................................................................... 164

Keywords..............................................................................................164

The Network Variable Modifier ................................................... 164

The Network Variable Storage Class .......................................... 166

The Network Variable Type ......................................................... 166

The Network Variable Connection Information ......................... 167

The Network Variable Initializer................................................. 170

The Network Variable Property List ........................................... 170

Configuration Property Syntax ................................................................. 171

Keywords..............................................................................................171

The Configuration Property Type ................................................ 172

The Configuration Property Modifiers ........................................ 172

The Configuration Property Initializer ....................................... 174

Declaring a Configuration Network Variable.................................... 175

Defining a Device Property List ......................................................... 175

Message Tag Syntax .................................................................................. 177

Keywords..............................................................................................177

Appendix D LonTalk API ..........................................................................179

Introduction................................................................................................ 180

The LonTalk API, Event Handler Functions, and Callback Handler

Functions ....................................................................................................180

Advertising