DUNE: Uniform Navigational Environment
2016.09.0
|
EdgeTech's JSF format parser.
Public Member Functions | |
Parser (void) | |
Packet * | getPacket (void) |
bool | parse (uint8_t byte) |
bool | parse (uint8_t byte, Packet *pkt) |
|
inline |
Constructor.
|
inline |
|
inline |
Referenced by Sensors::Edgetech2205::Task::readData().
|
inline |
Parse one byte of data.
[in] | byte | data byte. |
[in] | pkt | destination packet. |
References Sensors::Edgetech2205::Packet::getMaximumMessageSize(), Sensors::Edgetech2205::Packet::getMessageSize(), Sensors::Edgetech2205::Packet::HDR_IDX_MSG_SIZE, Sensors::Edgetech2205::Packet::HDR_IDX_MSG_TYPE, Sensors::Edgetech2205::Packet::setChannel(), Sensors::Edgetech2205::Packet::setCommandType(), Sensors::Edgetech2205::Packet::setDataByte(), Sensors::Edgetech2205::Packet::setHeaderByte(), Sensors::Edgetech2205::Packet::setProtocolVersion(), Sensors::Edgetech2205::Packet::setSubsystemNumber(), and Sensors::Edgetech2205::Packet::setTimeStamp().