Data Fields |
int(* | prepare )(const void *payload, unsigned short payload_len) |
| Prepare the radio with a packet to be sent.
|
int(* | transmit )(unsigned short transmit_len) |
| Send the packet that has previously been prepared.
|
int(* | send )(const void *payload, unsigned short payload_len) |
| Prepare & transmit a packet.
|
int(* | read )(void *buf, unsigned short buf_len) |
| Read a received packet into a buffer.
|
int(* | channel_clear )(void) |
| Perform a Clear-Channel Assessment (CCA) to find out if there is a packet in the air or not.
|
int(* | receiving_packet )(void) |
| Check if the radio driver is currently receiving a packet.
|
int(* | pending_packet )(void) |
| Check if the radio driver has just received a packet.
|
int(* | on )(void) |
| Turn the radio on.
|
int(* | off )(void) |
| Turn the radio off.
|
The structure of a device driver for a radio in Contiki.
Definition at line 61 of file radio.h.