Goby3 3.2.3
2025.05.13
Loading...
Searching...
No Matches
acomms_constants.h File Reference
#include <bitset>
#include <limits>
#include <string>

Go to the source code of this file.

Namespaces

namespace  goby
 The global namespace for the Goby project.
 
namespace  goby::acomms
 Classes and functions pertaining to acoustic communications (acomms) as well as related marine relevant communications links (such as satellite)
 

Variables

constexpr unsigned goby::acomms::BITS_IN_BYTE {8}
 
constexpr unsigned goby::acomms::NIBS_IN_BYTE {2}
 One hex char is a nibble (4 bits), two nibbles per byte.
 
constexpr int goby::acomms::BROADCAST_ID {0}
 special modem id for the broadcast destination - no one is assigned this address. Analogous to internet protocol address 192.168.1.255 on a 192.168.1.0/24 subnet
 
constexpr int goby::acomms::QUERY_DESTINATION_ID {-1}
 special modem id used internally to goby-acomms for indicating that the MAC layer (amac) is agnostic to the next destination. The next destination is thus set by the data provider (typically QueueManager or DynamicBuffer)
 
constexpr int goby::acomms::QUERY_SOURCE_ID {-1}
 similar to QUERY_DESTINATION_ID but for the source modem id