Event handler functions, Commonly used event handler functions – Echelon LonTal Stack User Manual
Page 196
184
Appendix D: LonTalk API
Function
Description
LonQueryTransceiverStatus() Requests the local status of the Echelon Smart
Transceiver or Neuron Chip.
LonSetNodeMode()
Sets the operating mode for the LonTalk Stack device:
• Online: An online device executes its application
and responds to all network messages.
• Offline: An offline device does not execute its
application or respond to network messages. It
will respond to network management messages.
• Configured: The device is ready for network
operation.
• Unconfigured: The device is not ready for
network operation.
LonUpdateAddressConfig()
Sets configuration data for the LonTalk Stack device’s
address table.
LonUpdateAliasConfig()
Sets configuration data for the LonTalk Stack device’s
alias table.
LonUpdateConfigData()
Sets configuration data on the LonTalk Stack device.
LonUpdateDomainConfig()
Sets a domain table record on the LonTalk Stack device.
LonUpdateNvConfig()
Sets configuration data for the LonTalk Stack device’s
network variable table.
Event Handler Functions
The LonTalk API provides event handler functions for managing network and
device events.
Commonly Used Event Handler Functions
The following table lists the event handler functions that you will most likely
need to define so that your application can perform application specific processing
for certain L
ON
W
ORKS
events. You do not need to modify these callback
functions if you have no application-specific processing requirements.
Function
Description
LonNvUpdateCompleted() Indicates that either an update network variable or a poll
network variable call is completed.