PicoWAN SDK Documentation
Data Fields
mac_message_callbacks_t Struct Reference

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...
 

Detailed Description

MAC events structure. Used to notify upper layers after each MAC events done.

Field Documentation

void(* mac_network_state) (mac_network_info_t *info)

MAC layer network state info callback prototype.

Parameters
infoDetails about MAC network state.
void(* mac_rx_done) (mac_rx_info_t *info)

MAC layer rx callback prototype.

Parameters
infoDetails about MAC rx occurred (status, port, payload and lenght, rssi, snr).
void(* mac_state) (mac_state_t state)

MAC layer state callback prototype.

Parameters
infoDetails about MAC state.
void(* mac_tx_done) (mac_tx_info_t *info)

MAC layer tx callback prototype.

Parameters
infoDetails about MAC tx occurred (status, ack status, number of retries).

The documentation for this struct was generated from the following file: