Access to device status and statistics – Echelon Neuron C User Manual
Page 184

172 Additional
Features
Access to Device Status and Statistics
From your application program, you can access the same diagnostic status
information that is available to a network tool. The status information is stored
in the status structure. To retrieve the status information, use the
retrieve_status( ) function. Its syntax is as follows:
void retrieve_status (status_struct *
status-p
);
The fields of the status structure are described in detail in the
Neuron C
Reference Guide.
Use the clear_status( ) function to clear certain status
structure fields (the statistics information, the reset cause register, and the error
log).