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.
xbee.h@0:8f5379c94a69, 2017-02-11 (annotated)
- Committer:
- dupm2216
- Date:
- Sat Feb 11 20:47:45 2017 +0000
- Revision:
- 0:8f5379c94a69
- Child:
- 3:37ea92feece2
Moved xbee to library
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| dupm2216 | 0:8f5379c94a69 | 1 | #ifndef XBEE_HPP |
| dupm2216 | 0:8f5379c94a69 | 2 | #define XBEE_HPP |
| dupm2216 | 0:8f5379c94a69 | 3 | |
| dupm2216 | 0:8f5379c94a69 | 4 | #include <vector> |
| dupm2216 | 0:8f5379c94a69 | 5 | #include <cassert> |
| dupm2216 | 0:8f5379c94a69 | 6 | #include "mbed.h" |
| dupm2216 | 0:8f5379c94a69 | 7 | #include "rtos.h" |
| dupm2216 | 0:8f5379c94a69 | 8 | |
| dupm2216 | 0:8f5379c94a69 | 9 | void send_message_via_xbee(const char* message, const int length); |
| dupm2216 | 0:8f5379c94a69 | 10 | vector<char> generate_transmit_request(const char* message, const int length); |
| dupm2216 | 0:8f5379c94a69 | 11 | void read_frame(); |
| dupm2216 | 0:8f5379c94a69 | 12 | vector<char> parse_receive_packet(vector<char> transmitted_request); |
| dupm2216 | 0:8f5379c94a69 | 13 | void handle_message(); |
| dupm2216 | 0:8f5379c94a69 | 14 | |
| dupm2216 | 0:8f5379c94a69 | 15 | #endif |