Open Lighting Architecture  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
ola::plugin::e131::PreamblePacker Class Reference

Public Member Functions

const uint8_t * Pack (const PDUBlock< PDU > &pdu_block, unsigned int *length)

Static Public Member Functions

static void AddUDPPreamble (ola::io::IOStack *stack)
static void AddTCPPreamble (ola::io::IOStack *stack)

Static Public Attributes

static const uint8_t ACN_HEADER []
static const unsigned int ACN_HEADER_SIZE = sizeof(ACN_HEADER)
static const unsigned int MAX_DATAGRAM_SIZE = 1472

Member Function Documentation

void ola::plugin::e131::PreamblePacker::AddTCPPreamble ( ola::io::IOStack stack)
static

Add the TCP Preamble to an IOStack

void ola::plugin::e131::PreamblePacker::AddUDPPreamble ( ola::io::IOStack stack)
static

Add the UDP Preamble to an IOStack

Member Data Documentation

const uint8_t ola::plugin::e131::PreamblePacker::ACN_HEADER
static
Initial value:
{
0x00, 0x10,
0x00, 0x00,
0x41, 0x53, 0x43, 0x2d,
0x45, 0x31, 0x2e, 0x31,
0x37, 0x00, 0x00, 0x00
}

The documentation for this class was generated from the following files: