![]() |
Open Lighting Architecture
Latest Git
|
ACN related code.
Typedefs | |
typedef DMPAddress< uint8_t > | OneByteDMPAddress |
typedef DMPAddress< uint16_t > | TwoByteDMPAddress |
typedef DMPAddress< uint32_t > | FourByteDMPAddress |
typedef RangeDMPAddress< uint8_t > | OneByteRangeDMPAddress |
typedef RangeDMPAddress< uint16_t > | TwoByteRangeDMPAddress |
typedef RangeDMPAddress< uint32_t > | FourByteRangeDMPAddress |
Enumerations | |
enum | RootVector { VECTOR_ROOT_E131_REV2 = 3, VECTOR_ROOT_E131 = 4, VECTOR_ROOT_E133 = 5, VECTOR_ROOT_NULL = 6 } |
ACN vectors used at the root layer. More... | |
enum | DMPVector { DMP_GET_PROPERTY_VECTOR = 1, DMP_SET_PROPERTY_VECTOR = 2 } |
Vectors used at the DMP layer. More... | |
enum | E131Vector { VECTOR_E131_DATA = 2, VECTOR_E131_SYNC = 3, VECTOR_E131_DISCOVERY = 4 } |
Vectors used at the E1.31 layer. More... | |
enum | E133Vector { VECTOR_FRAMING_RDMNET = 1, VECTOR_FRAMING_STATUS = 2, VECTOR_FRAMING_CONTROLLER = 3, VECTOR_FRAMING_CHANGE_NOTIFICATION = 4 } |
Vectors used at the E1.33 layer. More... | |
enum | E133ControllerVector { VECTOR_CONTROLLER_FETCH_DEVICES = 1, VECTOR_CONTROLLER_DEVICE_LIST = 2, VECTOR_CONTROLLER_DEVICE_ACQUIRED = 3, VECTOR_CONTROLLER_DEVICE_RELEASED = 4, VECTOR_CONTROLLER_EXPECT_MASTER = 5 } |
Vectors used at the E1.33 Controller layer. More... | |
enum | dmp_address_size { ONE_BYTES = 0x00, TWO_BYTES = 0x01, FOUR_BYTES = 0x02, RES_BYTES = 0x03 } |
enum | dmp_address_type { NON_RANGE = 0x00, RANGE_SINGLE = 0x01, RANGE_EQUAL = 0x02, RANGE_MIXED = 0x03 } |
Functions | |
unsigned int | DMPSizeToByteSize (dmp_address_size size) |
const BaseDMPAddress * | NewSingleAddress (unsigned int value) |
const BaseDMPAddress * | NewRangeAddress (unsigned int value, unsigned int increment, unsigned int number) |
const BaseDMPAddress * | DecodeAddress (dmp_address_size size, dmp_address_type type, const uint8_t *data, unsigned int *length) |
template<typename type > | |
dmp_address_size | TypeToDMPSize () |
const DMPPDU * | NewDMPGetProperty (bool is_virtual, bool is_relative, unsigned int start) |
const DMPPDU * | NewRangeDMPGetProperty (bool is_virtual, bool is_relative, unsigned int start, unsigned int increment, unsigned int number) |
template<typename type > | |
const DMPPDU * | NewDMPGetProperty (bool is_virtual, bool is_relative, const std::vector< DMPAddress< type > > &addresses) |
template<typename type > | |
const DMPPDU * | _CreateDMPGetProperty (bool is_virtual, bool is_relative, unsigned int start) |
template<typename type > | |
const DMPPDU * | NewRangeDMPGetProperty (bool is_virtual, bool is_relative, const std::vector< RangeDMPAddress< type > > &addresses) |
template<typename type > | |
const DMPPDU * | _CreateRangeDMPGetProperty (bool is_virtual, bool is_relative, unsigned int start, unsigned int increment, unsigned int number) |
template<typename type > | |
const DMPPDU * | NewDMPSetProperty (bool is_virtual, bool is_relative, const std::vector< DMPAddressData< DMPAddress< type > > > &chunks) |
template<typename type > | |
const DMPPDU * | NewRangeDMPSetProperty (bool is_virtual, bool is_relative, const std::vector< DMPAddressData< RangeDMPAddress< type > > > &chunks, bool multiple_elements=true, bool equal_size_elements=true) |
Variables | |
const uint16_t | ACN_PORT = 5568 |
The port used for E1.31 & SDT communication. | |
const uint16_t | E133_PORT = 5569 |
The port used for E1.33 communication. | |
static const unsigned int | MAX_TWO_BYTE = 0xffff |
static const unsigned int | MAX_ONE_BYTE = 0xff |
const uint8_t | ACN_HEADER [] |
const unsigned int | ACN_HEADER_SIZE = sizeof(ACN_HEADER) |
const uint8_t ola::acn::ACN_HEADER[] |