1
0
Fork 0

reuse IP address types from SDT

This commit is contained in:
Kevin Matz 2021-08-30 09:56:48 -04:00
parent cf9ae4c89b
commit 9b0ff5821b
1 changed files with 9 additions and 1 deletions

View File

@ -23,6 +23,8 @@
*/
#pragma once
#include "sdt/sdt.h"
#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 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_DISCOVERY_UNIVERSE = 64214;
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