This module describes all MCL General API's.
Functions | |
retval_t | mac_init (void) |
Initializes the MAC sublayer. More... | |
uint32_t | mac_ready_to_sleep (void) |
Checks if the mac stack is ready to sleep. More... | |
bool | mac_task (void) |
Runs the MAC scheduler. More... | |
retval_t mac_init | ( | void | ) |
Initializes the MAC sublayer.
uint32_t mac_ready_to_sleep | ( | void | ) |
Checks if the mac stack is ready to sleep.
bool mac_task | ( | void | ) |
Runs the MAC scheduler.
This function runs the MAC scheduler.
MLME and MCPS queues are removed alternately, starting with MLME queue.