Interface: tos.interfaces.CsmaBackoff
interface CsmaBackoff
Interface for MAC Backoff values from the radio stack.
Allows application to change the backoff on a per packet basis.
Only used if congestion control is enabled.
- Author:
-
Joe Polastre
Events
event uint16_t congestion(message_t *m)
event uint16_t initial(message_t *m)
Events - Details
congestion
event uint16_t congestion(message_t *m)
- Parameters:
-
'message_t* ONE m'
- Returns:
-
Backoff time after congestion
initial
event uint16_t initial(message_t *m)
- Parameters:
-
'message_t* ONE m'
- Returns:
-
Initial backoff time