Revision 347
fixed dumb wl library bug
colonet_wireless.h | ||
---|---|---|
11 | 11 |
|
12 | 12 |
#include <colonet_defs.h> |
13 | 13 |
|
14 |
typedef int(*MsgHandlerFunction)(unsigned char type, short source, int dest, |
|
15 |
unsigned char* data, int len); |
|
14 |
typedef int(*MsgHandlerFunction)(unsigned char type, short source, int dest, unsigned char* data, int len); |
|
16 | 15 |
|
17 | 16 |
/** @brief Initializes colonet wireless library |
18 | 17 |
* |
... | ... | |
24 | 23 |
* |
25 | 24 |
* @return new ColonetWireless object |
26 | 25 |
*/ |
27 |
void colonet_wl_init(char* wl_port, MsgHandlerFunction message_handler_, |
|
28 |
char* log_filename_); |
|
26 |
void colonet_wl_init(char* wl_port, MsgHandlerFunction message_handler_, char* log_filename_); |
|
29 | 27 |
|
30 | 28 |
/** @brief Spawns a thread which reads data from the hardware interface |
31 | 29 |
* with the colony (either a dongle or a robot programmed to relay data) |
Also available in: Unified diff