roneos
Operating System for the r-one robot
 All Data Structures Files Functions Variables Typedefs Groups
radio.h File Reference

Turns WiFi radio on or off, sends and receives radio messages, and radio interrupts. More...

Go to the source code of this file.

Data Structures

struct  RadioMessageRaw
 radio message and metrics More...
 
struct  RadioMessageCommand
 radio message and metrics More...
 
union  RadioMessage
 radio message and metrics union More...
 

Typedefs

typedef struct RadioMessageRaw RadioMessageRaw
 radio message and metrics More...
 
typedef struct RadioMessageCommand RadioMessageCommand
 radio message and metrics More...
 
typedef union RadioMessage RadioMessage
 radio message and metrics union More...
 

Functions

void radioInit (void)
 Initializes the radio. More...
 
void radioIntEnable (void)
 Enables radio interrupt. More...
 
void radioIntDisable (void)
 Disables radio interrupt. More...
 

Detailed Description

Turns WiFi radio on or off, sends and receives radio messages, and radio interrupts.

Since
Jul 9, 2010
Author
MRSL

Typedef Documentation

typedef union RadioMessage RadioMessage

radio message and metrics union

This is the union type for raw messages and commands.

radio message and metrics

This is the radio message command. This is processed by the threads and filtered for type and subnet. Note: This must be the same length as the RadioMessageRaw for the union to work properly.

radio message and metrics

This it the raw radio message. It should only be used at the low level, or for network snooping Note: This must be the same length as the RadioMessageCommand for the union to work properly.

Function Documentation

void radioInit ( void  )

Initializes the radio.

Returns
void
void radioIntDisable ( void  )

Disables radio interrupt.

Returns
void
void radioIntEnable ( void  )

Enables radio interrupt.

Returns
void