Go to the source code of this file.
Data Structures | |
struct | PacketGroupHandler |
Defines | |
#define | WL_MAX_PACKET_GROUPS 16 |
Functions | |
void | wl_init (void) |
Initialize the wireless library. | |
void | wl_terminate (void) |
Uninitialize the wireless library. | |
void | wl_do (void) |
Perform wireless library functionality. | |
void | wl_register_packet_group (PacketGroupHandler *h) |
Register a packet group with the wireless library. | |
void | wl_unregister_packet_group (PacketGroupHandler *h) |
Unregister a packet group with the wireless library. | |
void | wl_send_robot_to_robot_global_packet (char group, char type, char *data, int len, int dest, char frame) |
Send a packet to a specific robot in any PAN. | |
void | wl_send_robot_to_robot_packet (char group, char type, char *data, int len, int dest, char frame) |
Send a packet to a specific robot in our PAN. | |
void | wl_send_global_packet (char group, char type, char *data, int len, char frame) |
Send a packet to all robots. | |
void | wl_send_pan_packet (char group, char type, char *data, int len, char frame) |
Send a packet to all robots in our PAN. | |
void | wl_set_pan (int pan) |
Set the PAN we are using. | |
int | wl_get_pan (void) |
Get the PAN we are using. | |
void | wl_set_channel (int channel) |
Set the channel we are using. | |
int | wl_get_channel (void) |
Get the channel we are using. | |
unsigned int | wl_get_xbee_id (void) |
Get the 16-bit address of the XBee module. |
Contains functions for the wireless library.
|
The maximum number of packet groups. |