25#ifndef GOBY_ACOMMS_MODEMDRIVER_RUDICS_PACKET_H
26#define GOBY_ACOMMS_MODEMDRIVER_RUDICS_PACKET_H
43 const std::string& reserved = std::string(
"\0\r\n", 3) +
45 bool include_crc =
true);
47 const std::string& reserved = std::string(
"\0\r\n", 3) +
49 bool include_crc =
true);
RudicsPacketException(const std::string &what)
std::string uint32_to_byte_string(uint32_t i)
uint32_t byte_string_to_uint32(const std::string &s)
void parse_rudics_packet(std::string *bytes, std::string rudics_pkt, const std::string &reserved=std::string("\0\r\n", 3)+std::string(1, 0xff), bool include_crc=true)
void serialize_rudics_packet(std::string bytes, std::string *rudics_pkt, const std::string &reserved=std::string("\0\r\n", 3)+std::string(1, 0xff), bool include_crc=true)
The global namespace for the Goby project.