Add support to handle 'CHANNEL_ACCESS_FAILURE' and 'NO_ACK' results from the PHY layer. (#67)

This commit is contained in:
Jonathan Hui
2016-05-24 15:09:05 -07:00
parent 161b241e86
commit 9cb7aad7bf
3 changed files with 36 additions and 21 deletions
+12
View File
@@ -62,6 +62,18 @@ typedef enum ThreadError
kThreadError_NotImplemented = 13,
kThreadError_InvalidState = 14,
kThreadError_NoTasklets = 15,
/**
* No acknowledgment was received after macMaxFrameRetries (IEEE 802.15.4-2006).
*/
kThreadError_NoAck = 16,
/**
* A transmission could not take place due to activity on the channel, i.e., the CSMA-CA mechanism has failed
* (IEEE 802.15.4-2006).
*/
kThreadError_ChannelAccessFailure = 17,
kThreadError_Error = 255,
} ThreadError;