Librairie xbee.
Dependents: NerfUS-Coord NerfUSTarget
Fork of APP3_xbee by
Diff: xbee.h
- Revision:
- 0:8f5379c94a69
- Child:
- 3:37ea92feece2
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xbee.h Sat Feb 11 20:47:45 2017 +0000 @@ -0,0 +1,15 @@ +#ifndef XBEE_HPP +#define XBEE_HPP + +#include <vector> +#include <cassert> +#include "mbed.h" +#include "rtos.h" + +void send_message_via_xbee(const char* message, const int length); +vector<char> generate_transmit_request(const char* message, const int length); +void read_frame(); +vector<char> parse_receive_packet(vector<char> transmitted_request); +void handle_message(); + +#endif \ No newline at end of file