Project

General

Profile

Revision 1611

wl updates: compile issues; now finished (for now)

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
int8_t xbee_send(uint8_t* buf, uint16_t size);
126
static int8_t xbee_send(uint8_t* buf, uint16_t size);
127 127
/**@brief Add a buffer to the checksum value **/
128
int8_t xbee_checksum_add(uint8_t *buf, uint8_t len, uint8_t* sum);
128
static 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
int8_t xbee_send_header(uint8_t type, uint16_t len);
130
static 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 **/
134
int16_t xbee_set_pan_id(int id);
134
int8_t xbee_set_pan_id(uint16_t id);
135 135
/**@brief Get the XBee's PAN ID **/
136 136
uint16_t xbee_get_pan_id(void);
137 137
/**@brief Set the channel the XBee is currently using **/
138
int8_t xbee_set_channel(int channel);
138
int8_t xbee_set_channel(uint8_t channel);
139 139
/**@brief Get the channel the XBee is currently using **/
140 140
int8_t xbee_get_channel(void);
141 141
/**@brief Get the XBee's 16-bit address **/

Also available in: Unified diff