#include <communicator.h>
Definition at line 19 of file communicator.h.
| Enumerator |
|---|
| HEADER_PART_A |
|
| HEADER_PART_B |
|
| PACKAGE |
|
| CHECKSUM |
|
Definition at line 24 of file communicator.h.
| void ric_interface::Communicator::connect |
( |
std::string |
port, |
|
|
int |
baudrate |
|
) |
| |
|
inline |
| static void ric_interface::Communicator::fromBytes |
( |
byte |
buff[], |
|
|
size_t |
pkg_size, |
|
|
protocol::package & |
pkg |
|
) |
| |
|
inlinestatic |
| int ric_interface::Communicator::read |
( |
byte |
buff[] | ) |
|
|
inline |
| void ric_interface::Communicator::reset |
( |
| ) |
|
|
inlineprivate |
| static void ric_interface::Communicator::toBytes |
( |
const protocol::package & |
pkg, |
|
|
size_t |
pkg_size, |
|
|
byte |
buff[] |
|
) |
| |
|
inlinestatic |
| bool ric_interface::Communicator::tryReadHeader |
( |
| ) |
|
|
inlineprivate |
| int ric_interface::Communicator::tryReadPkgSize |
( |
| ) |
|
|
inlineprivate |
| bool ric_interface::Communicator::write |
( |
const protocol::package & |
pkg, |
|
|
size_t |
pkg_size |
|
) |
| |
|
inline |
| Crc8 ric_interface::Communicator::crc_ |
|
private |
| int ric_interface::Communicator::pkg_indx_ = 0 |
|
private |
| int ric_interface::Communicator::pkg_size_ = 0 |
|
private |
| SerialCom ric_interface::Communicator::serial_ |
|
private |
The documentation for this class was generated from the following file: