Revision 738
Updated wireless library binaries and headers.
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 |
void xbee_set_pan_id(int id);
|
|
85 |
int xbee_set_pan_id(int id);
|
|
87 | 86 |
/**@brief Get the XBee's PAN ID **/ |
88 | 87 |
unsigned int xbee_get_pan_id(void); |
89 | 88 |
/**@brief Set the channel the XBee is currently using **/ |
90 |
void xbee_set_channel(int channel);
|
|
89 |
int xbee_set_channel(int channel);
|
|
91 | 90 |
/**@brief Get the channel the XBee is currently using **/ |
92 | 91 |
int xbee_get_channel(void); |
93 | 92 |
/**@brief Get the XBee's 16-bit address **/ |
Also available in: Unified diff