74 extern const struct mac_driver sicslowmac_driver;
82 void mac_task(process_event_t ev, process_data_t data);
83 uint8_t nwk_dataIndication(
void);
87 void sicslowmac_dataIndication(
void);
90 void byte_reverse(uint8_t * bytes, uint8_t num);
91 struct mac_driver * sicslowmac_get_driver(
void);
92 parsed_frame_t * sicslowmac_get_frame(
void);
void sicslowmac_resetRequest(bool setDefaultPIB)
This is the implementation of the 15.4 MAC Reset Request primitive.
int sicslowmac_dataRequest(void)
This is the implementation of the 15.4 MAC Data Request primitive.
Header file for the radio API
#define PROCESS_NAME(name)
Declare the name of a process.
uint8_t mac_event_pending(void)
Checks for any pending events in the queue.
The structure of a device driver for a radio in Contiki.
event_object_t * mac_get_event(void)
Pulls an event from the event queue.
void mac_task(process_event_t ev, process_data_t data)
This is the main loop task for the MAC.
void mac_put_event(event_object_t *object)
Puts an event into the queue of events.
The structure of a MAC protocol driver in Contiki.
802.15.4 frame creation and parsing functions