Struct baton_stats¶
Diagnostic counters, see baton_node_get_stats() .
#include <baton_node.h>
Public Attributes¶
| Type | Name |
|---|---|
| uint32_t | ack_timeouts Slave: no ACK for a DATA frame. |
| uint32_t | bad_messages Unknown id or bad length inside a frame. |
| uint32_t | collisions Echo mismatch while transmitting. |
| uint32_t | crc_errors Frames rejected: CRC mismatch or invalid LEN. |
| uint32_t | duplicates Retransmitted content filtered out. |
| uint32_t | events_dropped Events dropped by the TTL. |
| uint32_t | queue_full baton_node_send() rejected for lack of space. |
| uint16_t | queue_high_used Bytes in use in the HIGH queue. |
| uint16_t | queue_normal_used Bytes in use in the NORMAL queue. |
| uint32_t | resp_timeouts Master: a slave did not answer a POLL. |
| uint32_t | retries Slave: DATA retransmissions. |
| uint32_t | rx_frames Valid frames seen on the bus (any destination). |
| uint32_t | rx_overflows Bytes lost because the receive ring was full. |
| uint32_t | rx_timeouts Frames aborted by the inter-byte timeout. |
| uint32_t | tx_frames Transmissions started. |
| uint32_t | tx_timeouts Transmissions that failed to start or did not finish. |
Public Attributes Documentation¶
variable ack_timeouts¶
Slave: no ACK for a DATA frame.
variable bad_messages¶
Unknown id or bad length inside a frame.
variable collisions¶
Echo mismatch while transmitting.
variable crc_errors¶
Frames rejected: CRC mismatch or invalid LEN.
variable duplicates¶
Retransmitted content filtered out.
variable events_dropped¶
Events dropped by the TTL.
variable queue_full¶
baton_node_send() rejected for lack of space.
variable queue_high_used¶
Bytes in use in the HIGH queue.
variable queue_normal_used¶
Bytes in use in the NORMAL queue.
variable resp_timeouts¶
Master: a slave did not answer a POLL.
variable retries¶
Slave: DATA retransmissions.
variable rx_frames¶
Valid frames seen on the bus (any destination).
variable rx_overflows¶
Bytes lost because the receive ring was full.
variable rx_timeouts¶
Frames aborted by the inter-byte timeout.
variable tx_frames¶
Transmissions started.
variable tx_timeouts¶
Transmissions that failed to start or did not finish.
The documentation for this class was generated from the following file inc/baton_node.h