#include <boost/asio.hpp>
#include <string>
#include "goby/middleware/io/detail/io_interface.h"
#include "goby/middleware/io/detail/serial_interface.h"
#include "jaiabot/messages/nanopb/feather.pb.h"
#include "crc16.h"
Go to the source code of this file.
Classes | |
class | jaiabot::lora::SerialThreadLoRaFeather< line_in_group, line_out_group, publish_layer, subscribe_layer, ThreadType, use_indexed_groups > |
Reads/Writes LoRa Adafruit feather message packages from/to serial port. More... | |
Namespaces | |
goby | |
goby::middleware | |
goby::middleware::protobuf | |
jaiabot | |
jaiabot::lora | |
Functions | |
template<typename ProtobufMessage > | |
ProtobufMessage | jaiabot::lora::parse (const goby::middleware::protobuf::IOData &io) |
template<typename ProtobufMessage > | |
std::shared_ptr< goby::middleware::protobuf::IOData > | jaiabot::lora::serialize (const ProtobufMessage &pb_msg) |
Variables | |
constexpr const char * | jaiabot::lora::SERIAL_MAGIC = "JAIA" |
constexpr int | jaiabot::lora::SERIAL_MAGIC_BYTES = 4 |
constexpr int | jaiabot::lora::SIZE_BYTES = 2 |
constexpr int | jaiabot::lora::BITS_IN_BYTE = 8 |
constexpr auto | jaiabot::lora::SERIAL_MAX_SIZE |
constexpr auto | jaiabot::lora::CRC_SIZE = 4 |