IEEE 802.15.4 SubMAC callbacks. More...
#include <submac.h>
Data Fields | |
void(* | rx_done )(ieee802154_submac_t *submac) |
RX done event. More... | |
void(* | tx_done )(ieee802154_submac_t *submac, int status, ieee802154_tx_info_t *info) |
TX done event. More... | |
void(* ieee802154_submac_cb_t::rx_done) (ieee802154_submac_t *submac) |
RX done event.
This function is called from the SubMAC to indicate a IEEE 802.15.4 frame is ready to be fetched from the device.
[in] | submac | pointer to the SubMAC descriptor |
void(* ieee802154_submac_cb_t::tx_done) (ieee802154_submac_t *submac, int status, ieee802154_tx_info_t *info) |
TX done event.
This function is called from the SubMAC to indicate that the TX procedure finished.
[in] | submac | pointer to the SubMAC descriptor |
[out] | info | TX information associated to the transmission (status, number of retransmissions, pending bit, etc). |