Owner manual

26 API Functions
aaGetRxStatus
aaGetRxStatus
Gets the status of the device’s receive buffer.
aaGetRxStatus(Dev)
int Dev Device number
int:
NO_ERR if there are no errors in the
devices receive buffer
ERR_RX if there are errors in the
devices receive buffer
ERR_DEV if device number out of range
ERR_NOTOPEN if device not open for receive
If there are errors in the device’s receive buffer, the
exact error and the errored data byte can be
determined using the aaReadWithStatus() function.
Purpose
Call
Return
Comments
aaGetTxCount
Gets the count of data bytes in the transmit buffer
waiting to be transmitted.
aaGetTxCount(Dev)
int Dev Device number
int: Transmit byte count
Purpose
Call
Return