Project

General

Profile

Revision 1616

wl: the library fully compiles with all functions written

View differences:

xbee.h
123 123
/**@brief Read a byte from the xbee (nonblocking) **/
124 124
int8_t xbee_getc_nb(uint8_t *c);
125 125
/**@brief Send an array of bytes to the xbee **/
126
static int8_t xbee_send(uint8_t* buf, uint16_t size);
126
int8_t xbee_send(uint8_t* buf, uint16_t size);
127 127
/**@brief Add a buffer to the checksum value **/
128
static int8_t xbee_checksum_add(uint8_t *buf, uint8_t len, uint8_t* sum);
128
int8_t xbee_checksum_add(uint8_t *buf, uint8_t len, uint8_t* sum);
129 129
/**@brief Send a frame header to the xbee **/
130
static int8_t xbee_send_header(uint8_t type, uint16_t len);
130
int8_t xbee_send_header(uint8_t type, uint16_t len);
131 131
/**@brief Send a packet to the XBee **/
132 132
int8_t xbee_send_packet(uint8_t* packet, uint8_t len, uint16_t dest, uint8_t options, uint8_t frame);
133 133
/**@brief Set the PAN ID for the XBee **/

Also available in: Unified diff