Project

General

Profile

Revision 397

added error returns to some libwireless functions, handled in server.

View differences:

xbee.h
80 80
/**@brief Get a packet from the XBee **/
81 81
int xbee_get_packet(unsigned char* packet);
82 82
/**@brief Send a packet to the XBee **/
83
void xbee_send_packet(char* packet, int len, int dest,
84
	char options, char frame);
83
int xbee_send_packet(char* packet, int len, int dest, char options, char frame);
85 84
/**@brief Set the PAN ID for the XBee **/
86 85
void xbee_set_pan_id(int id);
87 86
/**@brief Get the XBee's PAN ID **/

Also available in: Unified diff