#include <myahrs_plus.hpp>

Public Member Functions | |
| iAsciiProtocol () | |
| virtual | ~iAsciiProtocol () |
Static Public Attributes | |
| static const uint8_t | MSG_CRC_DELIMITER = '*' |
| static const uint8_t | MSG_HDR_COMMAND = '@' |
| static const uint8_t | MSG_HDR_RESPONSE = '~' |
| static const uint8_t | MSG_HDR_SENSOR_DATA = '$' |
| static const uint8_t | MSG_TAIL_CR = '\r' |
| static const uint8_t | MSG_TAIL_LF = '\n' |
Protected Member Functions | |
| void | push_byte (unsigned char c) |
| virtual void | update_attributes (std::vector< std::string > &tokens)=0 |
Private Member Functions | |
| bool | parse_message (const char *ascii_frame) |
Private Attributes | |
| bool | debug |
| FrameBuffer | frame_buffer |
Definition at line 722 of file myahrs_plus.hpp.
| WithRobot::iAsciiProtocol::iAsciiProtocol | ( | ) | [inline] |
Definition at line 736 of file myahrs_plus.hpp.
| virtual WithRobot::iAsciiProtocol::~iAsciiProtocol | ( | ) | [inline, virtual] |
Definition at line 738 of file myahrs_plus.hpp.
| bool WithRobot::iAsciiProtocol::parse_message | ( | const char * | ascii_frame | ) | [inline, private] |
Definition at line 771 of file myahrs_plus.hpp.
| void WithRobot::iAsciiProtocol::push_byte | ( | unsigned char | c | ) | [inline, protected] |
Definition at line 741 of file myahrs_plus.hpp.
| virtual void WithRobot::iAsciiProtocol::update_attributes | ( | std::vector< std::string > & | tokens | ) | [protected, pure virtual] |
Implemented in WithRobot::iMyAhrsPlus::Protocol.
bool WithRobot::iAsciiProtocol::debug [private] |
Definition at line 733 of file myahrs_plus.hpp.
Definition at line 732 of file myahrs_plus.hpp.
const uint8_t WithRobot::iAsciiProtocol::MSG_CRC_DELIMITER = '*' [static] |
Definition at line 727 of file myahrs_plus.hpp.
const uint8_t WithRobot::iAsciiProtocol::MSG_HDR_COMMAND = '@' [static] |
Definition at line 725 of file myahrs_plus.hpp.
const uint8_t WithRobot::iAsciiProtocol::MSG_HDR_RESPONSE = '~' [static] |
Definition at line 726 of file myahrs_plus.hpp.
const uint8_t WithRobot::iAsciiProtocol::MSG_HDR_SENSOR_DATA = '$' [static] |
Definition at line 724 of file myahrs_plus.hpp.
const uint8_t WithRobot::iAsciiProtocol::MSG_TAIL_CR = '\r' [static] |
Definition at line 728 of file myahrs_plus.hpp.
const uint8_t WithRobot::iAsciiProtocol::MSG_TAIL_LF = '\n' [static] |
Definition at line 729 of file myahrs_plus.hpp.