#include <wireless.h>
#include "wl_basic.h"
Functions | |
int | wl_basic_init (void(*handle_receive)(char type, int source, unsigned char *packet, int length)) |
init wireless for Basic Group | |
void | wl_basic_register_handler (void(*handle_receive)(char type, int source, unsigned char *packet, int length)) |
internal function to register a packet handler function | |
void | wl_basic_send_robot_packet (char type, char *data, int len, int dest) |
send a packet to a single robot in Basic Group | |
void | wl_basic_send_global_packet (char type, char *data, int len) |
send a packet to all robots in Basic Group |
Abstracted wireless functionality for sending and receiving packets