Classes | |
| class | SerialThreadCRC32 |
| Reads/Writes message packages from/to serial port. More... | |
Functions | |
| std::shared_ptr< goby::middleware::protobuf::IOData > | encode_for_mcu (const google::protobuf::Message &pb_msg) |
| template<typename ProtobufMessage> | |
| ProtobufMessage | decode_from_mcu (const goby::middleware::protobuf::IOData &io_msg) |
| static const std::shared_ptr< goby::middleware::protobuf::IOData > | encode_frame (const std::string &data) |
| static const std::string | decode_frame (const std::string &frame_data) |
Variables | |
| constexpr int | bits_in_byte = 8 |
| constexpr int | bytes_in_crc32 = 4 |
| constexpr const char * | SERIAL_MAGIC = "JAIA" |
| constexpr int | SERIAL_MAGIC_BYTES = 4 |
| constexpr int | SIZE_BYTES = 2 |
| constexpr int | BITS_IN_BYTE = 8 |
| constexpr auto | SERIAL_MAX_SIZE = 2048 |
| constexpr auto | CRC_SIZE = 4 |
|
static |
Definition at line 63 of file serial_crc32.h.
| ProtobufMessage jaiabot::serial::decode_from_mcu | ( | const goby::middleware::protobuf::IOData & | io_msg | ) |
|
inline |
|
static |
Definition at line 46 of file serial_crc32.h.
|
constexpr |
Definition at line 41 of file serial_crc32.h.
|
constexpr |
Definition at line 43 of file serial_crc32.h.
|
constexpr |
Definition at line 38 of file serial_crc32.h.
|
constexpr |
Definition at line 39 of file serial_crc32.h.
|
constexpr |
Definition at line 42 of file serial_crc32.h.
|
constexpr |
Definition at line 40 of file serial_crc32.h.