Open Lighting Architecture  Latest Git
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Typedefs | Enumerations | Functions | Variables
ola::acn Namespace Reference

Detailed Description

ACN related code.

Classes

class  BaseDMPAddress
 
class  BaseInflator
 An abstract PDU inflator. More...
 
class  CID
 The ACN component identifier. More...
 
class  CIDImpl
 
class  DMPAddress
 
class  DMPAddressData
 
class  DMPE131Inflator
 
class  DMPGetProperty
 
class  DMPHeader
 
class  DMPInflator
 
class  DMPPDU
 
class  DMPSetProperty
 
class  E131DiscoveryInflator
 
class  E131Header
 
class  E131Inflator
 
class  E131InflatorRev2
 
class  E131Node
 
class  E131PDU
 
class  E131Rev2Header
 
class  E131Sender
 
class  E133Header
 
class  E133Inflator
 
class  E133PDU
 
class  E133StatusInflator
 
class  E133StatusPDU
 
class  HeaderSet
 
class  IncomingStreamTransport
 
class  IncomingTCPTransport
 
class  IncomingUDPTransport
 
class  InflatorInterface
 The inflator interface. More...
 
class  NullInflator
 
class  OutgoingTransport
 
class  OutgoingUDPTransport
 
class  OutgoingUDPTransportImpl
 
class  PDU
 
class  PDUBlock
 
class  PreamblePacker
 
class  RangeDMPAddress
 
class  RDMInflator
 
class  RDMPDU
 
class  RootHeader
 
class  RootInflator
 
class  RootPDU
 
class  RootSender
 
class  TrackedSource
 
class  TransportHeader
 

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 BaseDMPAddressNewSingleAddress (unsigned int value)
 
const BaseDMPAddressNewRangeAddress (unsigned int value, unsigned int increment, unsigned int number)
 
const BaseDMPAddressDecodeAddress (dmp_address_size size, dmp_address_type type, const uint8_t *data, unsigned int *length)
 
template<typename type >
dmp_address_size TypeToDMPSize ()
 
const DMPPDUNewDMPGetProperty (bool is_virtual, bool is_relative, unsigned int start)
 
const DMPPDUNewRangeDMPGetProperty (bool is_virtual, bool is_relative, unsigned int start, unsigned int increment, unsigned int number)
 
template<typename type >
const DMPPDUNewDMPGetProperty (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 DMPPDUNewRangeDMPGetProperty (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 DMPPDUNewDMPSetProperty (bool is_virtual, bool is_relative, const std::vector< DMPAddressData< DMPAddress< type > > > &chunks)
 
template<typename type >
const DMPPDUNewRangeDMPSetProperty (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)
 

Variable Documentation

const uint8_t ola::acn::ACN_HEADER[]
Initial value:
= {
0x00, 0x14,
0x00, 0x00,
0x41, 0x53, 0x43, 0x2d,
0x45, 0x31, 0x2e, 0x31,
0x37, 0x00, 0x00, 0x00
}