Echelon Neuron C User Manual
Page 146
![background image](/manuals/735747/146/background.png)
126
Functions
unsigned long status_rcv_transaction_full;
unsigned long status_lost_msgs;
unsigned long status_missed_msgs;
unsigned
status_reset_cause;
unsigned
status_node_state;
unsigned
status_version_number
unsigned
status_error_log;
unsigned
status_model_number;
} status_struct;
status_xmit_errors
A count of the transmission errors that have been
detected on the network. A transmission error is detected
through a CRC error during packet reception. This error
could result from a collision, noisy medium, or excess
signal attenuation.
status_transaction_timeouts
A count of the timeouts that have occurred in attempting
to carry out acknowledged or request/response
transactions initiated by the device.
status_rcv_transaction_full
The number of times an incoming repeated,
acknowledged, or request message was lost because there
was no more room in the receive transaction database.
The size of this database can be set through a pragma
during compilation (#pragma receive_trans_count).
status_lost_msgs
The number of messages that were addressed to the
device and received in a network buffer that were
discarded because there was no application buffer
available for the message. The number of application
buffers can be set through a pragma at compile time
(#pragma app_buf_in_count).
status_missed_msgs The number of messages that were on the network but
could not be received because there was no network buffer
available for the message. The number of network buffers
can be set through a pragma during compilation
(#pragma net_buf_in_count).
status_reset_cause
Identifies the source of the most recent reset. The values
for this byte are (
x
= don’t care):
Power-up
reset
0b
xxxxxxx
1
External reset
0b
xxxxxx
10
Watchdog timer reset
0b
xxxx
1100
Software-initiated reset
0b
xxx
10100
status_node_state
The state of the device. The states are:
Unconfigured
0x02
Unconfigured/no application
0x03
Configured/online 0x04
Configured/hard-offline 0x06
Configured/soft-offline 0x0C
Configured/bypass-mode 0x8C