Open Lighting Architecture: ola::acn::PreamblePacker Class Reference

| Open Lighting Architecture 0.10.9

Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
ola::acn::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

## ◆ AddTCPPreamble()

void ola::acn::PreamblePacker::AddTCPPreamble | ( | ola::io::IOStack * | stack | ) |
| static

Add the TCP Preamble to an IOStack

## ◆ AddUDPPreamble()

void ola::acn::PreamblePacker::AddUDPPreamble | ( | ola::io::IOStack * | stack | ) |
| static

Add the UDP Preamble to an IOStack

## Member Data Documentation

## ◆ ACN_HEADER

const uint8_t ola::acn::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:

- libs/acn/PreamblePacker.h
- libs/acn/PreamblePacker.cpp