PicoWAN SDK Documentation
|
MAC events structure. Used to notify upper layers after each MAC events done. More...
#include <mac.h>
Data Fields | |
void(* | mac_tx_done )(mac_tx_info_t *info) |
MAC layer tx callback prototype. More... | |
void(* | mac_rx_done )(mac_rx_info_t *info) |
MAC layer rx callback prototype. More... | |
void(* | mac_network_state )(mac_network_info_t *info) |
MAC layer network state info callback prototype. More... | |
void(* | mac_state )(mac_state_t state) |
MAC layer state callback prototype. More... | |
MAC events structure. Used to notify upper layers after each MAC events done.
void(* mac_network_state) (mac_network_info_t *info) |
MAC layer network state info callback prototype.
info | Details about MAC network state. |
void(* mac_rx_done) (mac_rx_info_t *info) |
MAC layer rx callback prototype.
info | Details about MAC rx occurred (status, port, payload and lenght, rssi, snr). |
void(* mac_state) (mac_state_t state) |
MAC layer state callback prototype.
info | Details about MAC state. |
void(* mac_tx_done) (mac_tx_info_t *info) |
MAC layer tx callback prototype.
info | Details about MAC tx occurred (status, ack status, number of retries). |