Librairie xbee.
Dependents: NerfUS-Coord NerfUSTarget
Fork of APP3_xbee by
Diff: include/xbee.h
- Revision:
- 24:00c42ba87ef7
- Parent:
- 23:2b67589150d9
- Child:
- 25:64ea9e695a1f
--- a/include/xbee.h Wed Apr 05 20:27:53 2017 +0000 +++ b/include/xbee.h Wed Apr 05 21:09:32 2017 +0000 @@ -54,11 +54,11 @@ void send_message_via_xbee(const char* message, const int length, int address[8]); vector<char> generate_transmit_request(const char* message, const int length, int address[8]); vector<char> generate_led_command(const bool power_on); -void read_frame(); +void read_frame(void const *args); vector<char> parse_receive_packet(const vector<char>& frame); vector<char> parse_transmit_status(const vector<char>& frame); vector<char> parse_at_command_response(const vector<char>& frame); -void handle_parsed_frames_from_mailbox(void (*callback)(vector<uint8_t>, int*)); +void handle_parsed_frames_from_mailbox(void const *args); void handle_frame(const vector<char>& frame); void parse_nerfus_message(const vector<char>& parsed_frame, void (*callback)(vector<uint8_t>, int*));