wl_basic.c File Reference

High Level Wireless Packet Sending-Receiving Functions. More...

#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


Detailed Description

High Level Wireless Packet Sending-Receiving Functions.

Abstracted wireless functionality for sending and receiving packets

Author:
Christopher Mar, Colony Project, CMU Robotics Club

Generated on Fri Sep 4 13:14:45 2009 for libwireless by  doxygen 1.5.9