tx_state_machine.h

Implementation of TX state machine.

void gnrc_lwmac_tx_start(gnrc_netif_t * netif, include/net/gnrc/pkt.h::gnrc_pktsnip_t * pkt, gnrc_mac_tx_neighbor_t * neighbor)

Start LWMAC TX procedure to transmit packet pkt to neighbor.

Parameters

netif:ptr to the network interface
pkt:packet to transmit
neighbor:Tx neighbor

void gnrc_lwmac_tx_stop(gnrc_netif_t * netif)

Stop LWMAC TX procedure.

Parameters

netif:ptr to the network interface

void gnrc_lwmac_tx_update(gnrc_netif_t * netif)

Update LWMAC TX procedure for transmission.

Parameters

netif:ptr to the network interface