Microchip® Advanced Software Framework

nullradio.c File Reference
#include "dev/nullradio.h"

Functions

static int channel_clear (void)
 
static int init (void)
 
static int off (void)
 
static int on (void)
 
static int pending_packet (void)
 
static int prepare (const void *payload, unsigned short payload_len)
 
static int read (void *buf, unsigned short buf_len)
 
static int receiving_packet (void)
 
static int send (const void *payload, unsigned short payload_len)
 
static int transmit (unsigned short transmit_len)
 

Variables

struct radio_driver nullradio_driver
 

static int channel_clear ( void  )
static
static int init ( void  )
static
static int off ( void  )
static
static int on ( void  )
static
static int pending_packet ( void  )
static
static int prepare ( const void *  payload,
unsigned short  payload_len 
)
static

Referenced by send().

static int read ( void *  buf,
unsigned short  buf_len 
)
static
static int receiving_packet ( void  )
static
static int send ( const void *  payload,
unsigned short  payload_len 
)
static

References prepare(), and transmit().

static int transmit ( unsigned short  transmit_len)
static

References RADIO_TX_OK.

Referenced by compower_accumulate(), PROCESS_THREAD(), and send().

struct radio_driver nullradio_driver
Initial value:
=
{
on,
off,
}
static int on(void)
Definition: nullradio.c:55
static int transmit(unsigned short transmit_len)
Definition: nullradio.c:18
static int receiving_packet(void)
Definition: nullradio.c:43
sint16 send(SOCKET sock, void *pvSendBuffer, uint16 u16SendLength, uint16 flags)
Definition: winc3400/wifi_drv/socket/source/socket.c:704
static int pending_packet(void)
Definition: nullradio.c:49
static int channel_clear(void)
Definition: nullradio.c:37
static int read(void *buf, unsigned short buf_len)
Definition: nullradio.c:31
static int prepare(const void *payload, unsigned short payload_len)
Definition: nullradio.c:12
goto init
Definition: dhcpc.c:392
static int off(void)
Definition: nullradio.c:61