Librairie xbee.
Dependents: NerfUS-Coord NerfUSTarget
Fork of APP3_xbee by
test.h@4:e97cfe6cc18c, 2017-02-12 (annotated)
- Committer:
- dupm2216
- Date:
- Sun Feb 12 21:33:48 2017 +0000
- Revision:
- 4:e97cfe6cc18c
- Parent:
- 3:37ea92feece2
- Child:
- 5:cd3c79853dc8
Handle received frames of any type
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dupm2216 | 0:8f5379c94a69 | 1 | #ifndef TEST_HPP |
dupm2216 | 0:8f5379c94a69 | 2 | #define TEST_HPP |
dupm2216 | 0:8f5379c94a69 | 3 | |
dupm2216 | 0:8f5379c94a69 | 4 | #include <vector> |
dupm2216 | 0:8f5379c94a69 | 5 | |
dupm2216 | 3:37ea92feece2 | 6 | bool vectors_are_equal(const std::vector<char> v1, const std::vector<char> v2); |
dupm2216 | 0:8f5379c94a69 | 7 | |
dupm2216 | 0:8f5379c94a69 | 8 | void run_all_tests(); |
dupm2216 | 3:37ea92feece2 | 9 | void vectors_are_equal_test(); |
dupm2216 | 0:8f5379c94a69 | 10 | std::vector<char> construct_vector(const char* content); |
dupm2216 | 0:8f5379c94a69 | 11 | void generate_transmit_request_test(); |
dupm2216 | 0:8f5379c94a69 | 12 | void parse_receive_packet_test(); |
dupm2216 | 3:37ea92feece2 | 13 | void parse_frame_parses_receive_packet_test(); |
dupm2216 | 3:37ea92feece2 | 14 | void parse_frame_parses_transmit_status_test(); |
dupm2216 | 3:37ea92feece2 | 15 | void parse_frame_parses_at_command_response_test(); |
dupm2216 | 4:e97cfe6cc18c | 16 | void handle_frame_adds_parsed_frame_to_mailbox_test(); |
dupm2216 | 0:8f5379c94a69 | 17 | |
dupm2216 | 0:8f5379c94a69 | 18 | #endif |