DUNE: Uniform Navigational Environment
2.6.1
|
Public Member Functions | |
ProtocolParser (void) | |
~ProtocolParser (void) | |
void | reset (void) |
CommandType | parse (Command &cmd, uint8_t byte) |
Static Public Member Functions | |
template<typename T > | |
static void | sendCommand (uint8_t cmd, const uint8_t *data, int data_size, T *dev) |
template<typename T > | |
static void | sendCommand (uint8_t cmd, uint8_t byte, T *dev) |
|
inline |
References reset().
|
inline |
|
inline |
References DUNE::Hardware::LUCL::Command::ErrorPayload::code, DUNE::Hardware::LUCL::Command::CommandPayload::code, DUNE::Hardware::LUCL::Command::command, DUNE::Hardware::LUCL::CommandTypeBootJump, DUNE::Hardware::LUCL::CommandTypeError, DUNE::Hardware::LUCL::CommandTypeInvalidChecksum, DUNE::Hardware::LUCL::CommandTypeInvalidVersion, DUNE::Hardware::LUCL::CommandTypeName, DUNE::Hardware::LUCL::CommandTypeNone, DUNE::Hardware::LUCL::CommandTypeNormal, DUNE::Hardware::LUCL::CommandTypeReset, DUNE::Hardware::LUCL::CommandTypeVersion, DUNE::Hardware::LUCL::Command::CommandPayload::data, DUNE::Hardware::LUCL::Command::NamePayload::data, DUNE::Hardware::LUCL::Command::error, DUNE::Hardware::LUCL::Command::VersionPayload::major, DUNE::Hardware::LUCL::Command::VersionPayload::minor, DUNE::Hardware::LUCL::Command::name, DUNE::Hardware::LUCL::Command::VersionPayload::patch, reset(), DUNE::Hardware::LUCL::Command::CommandPayload::size, DUNE::Hardware::LUCL::Command::type, and DUNE::Hardware::LUCL::Command::version.
|
inline |
Reset internal state machine parser.
Referenced by parse(), and ProtocolParser().
|
inlinestatic |
Referenced by sendCommand().
|
inlinestatic |
References sendCommand().