Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: xbee.h
- Revision:
- 0:8f5379c94a69
- Child:
- 3:37ea92feece2
diff -r 000000000000 -r 8f5379c94a69 xbee.h --- /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