SCAN_ERR
SCAN_ERR Structure Definition
struct SCAN_ERR{ unsigned char m_ucTxError; // Tx Error Counter Value unsigned char m_ucRxError; // Rx Error Counter Value unsigned char m_ucChannel; // Channel Number};Member Description m_ucTxError Tx Error counter value m_ucRxError Rx Error counter value m_ucChannel Channel on which error frame is received
Example:
// Error Active Handler which will print error counter values and channel numbervoid OnError_Active(SCAN_ERR ErrorMsg){ Trace( "Tx Error: %d Rx Error: %d Channel: %d", ErrorMsg.m_ucTxError, ErrorMsg.m_ucRxError, ErrorMsg.m_ucChannel );}Authoritative source: BUSMASTER DITA help source scan_err.dita, compiled into BUSMASTER.CHM with the application.