reuse IP address types from SDT
This commit is contained in:
parent
cf9ae4c89b
commit
9b0ff5821b
|
@ -23,6 +23,8 @@
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include "sdt/sdt.h"
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -92,9 +94,15 @@ static const uint32_t VECTOR_E131_EXTENDED_DISCOVERY = 0x00000002;
|
||||||
|
|
||||||
static const uint32_t VECTOR_UNIVERSE_DISCOVERY_UNIVERSE_LIST = 0x00000001;
|
static const uint32_t VECTOR_UNIVERSE_DISCOVERY_UNIVERSE_LIST = 0x00000001;
|
||||||
|
|
||||||
static const uint16_t E131_E131_UNIVERSE_DISCOVER_INTERVAL = 10000; // ms
|
static const uint16_t E131_UNIVERSE_DISCOVER_INTERVAL = 10000; // ms
|
||||||
static const uint16_t E131_NETWORK_DATA_LOSS_TIMEOUT = 2500; // ms
|
static const uint16_t E131_NETWORK_DATA_LOSS_TIMEOUT = 2500; // ms
|
||||||
static const uint16_t E131_DISCOVERY_UNIVERSE = 64214;
|
static const uint16_t E131_DISCOVERY_UNIVERSE = 64214;
|
||||||
|
|
||||||
static const uint16_t ACN_SDT_MULTICAST_PORT = 5568;
|
static const uint16_t ACN_SDT_MULTICAST_PORT = 5568;
|
||||||
|
|
||||||
|
/// @brief borrow Ip address types from ACN::SDT
|
||||||
|
using ip_addr_spec = ACN::SDT::ip_addr_spec;
|
||||||
|
/// @brief borrow Ip address struct from ACN::SDT::UDP
|
||||||
|
using ipAddress = ACN::SDT::UDP::ipAddress;
|
||||||
|
|
||||||
} // SACN
|
} // SACN
|
||||||
|
|
Loading…
Reference in New Issue
Block a user