Librairie xbee.

Dependents:   NerfUS-Coord NerfUSTarget

Fork of APP3_xbee by Team APP

Committer:
dupm2216
Date:
Sun Feb 12 20:31:46 2017 +0000
Revision:
3:37ea92feece2
Parent:
0:8f5379c94a69
Child:
4:e97cfe6cc18c
Parse arbitrary supported frame; ; Supported frames:; ; - Receive packet; ; - Transmit status; ; - AT command response; ; Also refactored the assert_vector_equal function so that the assert message show the problematic line more accurately

Who changed what in which revision?

UserRevisionLine numberNew 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 0:8f5379c94a69 16
dupm2216 0:8f5379c94a69 17 #endif