Echelon LonTal Stack User Manual
Page 4
iv
Defining the Interface for a LonTalk Stack Application..................... 53
Choosing the Data Type ................................................................. 54
Defining a Functional Block ................................................................. 55
Declaring a Functional Block......................................................... 56
Defining a Network Variable................................................................ 56
Defining a Changeable-Type Network Variable ........................... 58
Defining a Configuration Property....................................................... 59
Declaring a Configuration Property .............................................. 59
Responding to Configuration Property Value Changes................ 62
Defining a Configuration Property Array ..................................... 62
Sharing a Configuration Property ................................................. 64
Inheriting a Configuration Property Type .................................... 66
Declaring a Message Tag ...................................................................... 67
Defining a Resource File ....................................................................... 68
Implementation-Specific Scope Rules............................................ 70
Writing Acceptable Neuron C Code ............................................................ 70
Anonymous Top-Level Types ................................................................ 71
Legacy Neuron C Constructs ................................................................ 71
Using Authentication for Network Variables ............................................ 71
Specifying the Authentication Key....................................................... 72
How Authentication Works................................................................... 73
Network Variable Configuration Table................................................ 76
Simple Network Variable Declarations ............................................... 76
Network Variables Using Standard Types .......................................... 76
Functional Blocks without Configuration Properties ......................... 77
Functional Blocks with Configuration Network Variables................. 78
Functional Blocks with Configuration Properties Implemented
Using the LonTalk Interface Developer Utility ................................81
Running the LonTalk Interface Developer................................................. 82
Specifying the Project File .................................................................... 82
Specifying the Echelon Smart Transceiver or Neuron Chip
Configuring the LonTalk Stack ............................................................ 84
Configuring the Buffers ........................................................................ 85
Configuring the Application.................................................................. 86
Configuring Support for Non-Volatile Data......................................... 87
Specifying the Device Program ID ....................................................... 88
Specifying the Model File...................................................................... 89
Specifying Neuron C Compiler Preferences......................................... 90