Contiki-NG
Loading...
Searching...
No Matches
at86rf215.h File Reference

Header file for the at86rf215.c. More...

Go to the source code of this file.

Functions

int at86rf215_channel_clear (void)
 

Variables

const struct radio_driver at86rf215_driver
 The NETSTACK data structure for the AT86RF215 driver.
 

Detailed Description

Header file for the at86rf215.c.

Author
Grega Morano grega.nosp@m..mor.nosp@m.ano@i.nosp@m.js.s.nosp@m.i

Definition in file at86rf215.h.

Function Documentation

◆ at86rf215_channel_clear()

int at86rf215_channel_clear ( void )

Contiki-NG CSMA mode calls the channel clear function to sense if there is an ACK in the air (besides calling receiving_packet and pending_packet) So instead of receiving an ACK, with this function (implemented from the reference manual) what we do is we put the radio to TXPREP and disable BBC to avoid packet detection to be able to measure Energy Detection value. TODO: ... So at this point, we just return 1 --> chanel not busy

For TSCH, this implementation is usefull, but the CCA in TSCH is disabled by default (TSCH_CCA_ENABLED) ...

Definition at line 506 of file at86rf215.c.