Revision 309
Brian committing from Eugene's account - Fixed Justin's port code. Wireless no longer needs gtkterm open to work with the baud rate. Untested on mac. Queue is thread safe on the computer (not robot). You may need to unplug and replug the xbee for it to work.
wireless.h | ||
---|---|---|
118 | 118 |
} PacketGroupHandler; |
119 | 119 |
|
120 | 120 |
/**@brief Initialize the wireless library **/ |
121 |
void wl_init(void);
|
|
121 |
int wl_init(void);
|
|
122 | 122 |
/**@brief Uninitialize the wireless library **/ |
123 | 123 |
void wl_terminate(void); |
124 | 124 |
/**@brief Perform wireless library functionality **/ |
... | ... | |
150 | 150 |
/**@brief Get the channel we are using **/ |
151 | 151 |
int wl_get_channel(void); |
152 | 152 |
/**@brief Get the 16-bit address of the XBee module **/ |
153 |
unsigned int wl_get_xbee_id(void);
|
|
153 |
int wl_get_xbee_id(void); |
|
154 | 154 |
/**@brief Set the com port on a computer, undefined on the robot.**/ |
155 | 155 |
void wl_set_com_port(char* port); |
156 | 156 |
|
Also available in: Unified diff