Classes | |
struct | Packet |
class | UDPDriver |
class | XBeeDevice |
class | XBeeDriver |
Typedefs | |
typedef unsigned char | byte |
typedef uint64_t | SerialNumber |
typedef std::string | NodeId |
Enumerations | |
enum | NodeType { NodeType::HUB, NodeType::BOT } |
Functions | |
void | check_bot_id_bounds (int bot_id) |
void | check_hub_id_bounds (int hub_id) |
int | hub_modem_id (unsigned subnet_mask, jaiabot::protobuf::Link link) |
int | modem_id_from_bot_id (int bot_id, unsigned subnet_mask, jaiabot::protobuf::Link link) |
int | bot_id_from_modem_id (int modem_id, unsigned subnet_mask) |
jaiabot::protobuf::Link | link_from_modem_id (int modem_id, unsigned subnet_mask) |
template<typename DCCLMessageWithLinkField > | |
void | set_link_type (DCCLMessageWithLinkField &msg, int src_modem_id, unsigned subnet_mask) |
SerialNumber | serial_from_node_data (NodeType type, int fleet_id, int bot_or_hub_id) |
Variables | |
constexpr int | broadcast_modem_id {goby::acomms::BROADCAST_ID} |
constexpr int | hub_base_modem_id {1} |
constexpr int | bot0_base_modem_id {2} |
constexpr int | bot_id_min {0} |
constexpr int | bot_id_max {150} |
constexpr int | bot_id_total {bot_id_max - bot_id_min + 1} |
constexpr int | hub_id_min {0} |
constexpr int | hub_id_max {30} |
constexpr int | hub_id_total {hub_id_max - hub_id_min + 1} |
typedef unsigned char jaiabot::comms::byte |
typedef std::string jaiabot::comms::NodeId |
typedef uint64_t jaiabot::comms::SerialNumber |
|
strong |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void jaiabot::comms::set_link_type | ( | DCCLMessageWithLinkField & | msg, |
int | src_modem_id, | ||
unsigned | subnet_mask | ||
) |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |