Ftxl callback handler functions, Non-volatile data event handler functions, Commonly used callback handler functions – Echelon FTXL User Manual
Page 167
FTXL User’s Guide
155
Function
Description
LonResponseArrived() Indicates that an application message response has arrived from
the network. This function performs any application-specific
processing required for the message.
Non-Volatile Data Event Handler Functions
The FTXL LonTalk API provides the event handler function listed in Table 20 to
support non-volatile data.
Table 20. FTXL Non-Volatile Data Event Handler Function
Function
Description
LonNvdStarvation() Indicates that a write request to non-volatile data has taken more
than 60 seconds.
The application should call the LonNvdFlushData() API function to
ensure that non-volatile data is written.
FTXL Callback Handler Functions
In addition to providing event handler functions, the FTXL LonTalk API also
provides callback handler functions, mainly for managing memory on the FTXL
device.
Commonly Used Callback Handler
Functions
In addition to processing events, the FTXL LonTalk API provides the callback
handler functions listed in Table 21.
Table 21. FTXL Callback Handler Functions
Function
Description
LonGetCurrentNvSize() Indicates a request for the network variable size.
The FTXL LonTalk protocol stack calls this callback handler
function to determine the current size of a changeable-type
network variable.
For non-changeable-type network variables, this function should
return the value of the LonGetDeclaredNvSize() function. For
changeable-type network variables, you must modify this
function in the FtxlHandlers.c file.