Project

General

Profile

Revision 418

added return values to a bunch of libwireless functions. Makefile for colonetserver now compiles libwireless when necessary. added static to a bunch of libwireless vars. commented out colonet timeout

View differences:

xbee.h
74 74
#define XBEE_RX 0x81
75 75

  
76 76
/**@brief Initialize the XBee library **/
77
int xbee_lib_init();
77
int xbee_lib_init(void);
78 78
/**@brief Uninitialize the XBee library **/
79 79
void xbee_terminate(void);
80 80
/**@brief Get a packet from the XBee **/
......
82 82
/**@brief Send a packet to the XBee **/
83 83
int xbee_send_packet(char* packet, int len, int dest, char options, char frame);
84 84
/**@brief Set the PAN ID for the XBee **/
85
void xbee_set_pan_id(int id);
85
int xbee_set_pan_id(int id);
86 86
/**@brief Get the XBee's PAN ID **/
87 87
unsigned int xbee_get_pan_id(void);
88 88
/**@brief Set the channel the XBee is currently using **/
89
void xbee_set_channel(int channel);
89
int xbee_set_channel(int channel);
90 90
/**@brief Get the channel the XBee is currently using **/
91 91
int xbee_get_channel(void);
92 92
/**@brief Get the XBee's 16-bit address **/

Also available in: Unified diff