OLE Developer Guide  Latest Git
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Responder

Detailed Description

The Responder Subsystem.

The responder receives data from the transceiver module and de-mulitplexes based on start code.

Files

file  receiver_counters.h
 Counters for the DMX/RDM receiver.
 
file  responder.h
 The Responder Subsystem.
 

Functions

void ReceiverCounters_ResetCounters ()
 Reset the counters.
 
void ReceiverCounters_ResetCommsStatusCounters ()
 Reset the COMMS_STATUS counters.
 
static uint32_t ReceiverCounters_DMXFrames ()
 The number of DMX512 frames received.
 
static uint32_t ReceiverCounters_ASCFrames ()
 The number of ASC frames received.
 
static uint32_t ReceiverCounters_RDMFrames ()
 The number of RDM frames received.
 
static uint32_t ReceiverCounters_RDMShortFrame ()
 The number of RDM frames that were too short. More...
 
static uint32_t ReceiverCounters_RDMLengthMismatch ()
 The number of RDM frames that had a length mismatch. More...
 
static uint32_t ReceiverCounters_RDMSubStartCodeInvalidCounter ()
 The number of RDM frames received where the sub-start-code was incorrect.
 
static uint32_t ReceiverCounters_RDMMessageLengthInvalidCounter ()
 The number of RDM frames received where the message length was incorrect.
 
static uint32_t ReceiverCounters_RDMParamDataLenInvalidCounter ()
 The number of RDM frames received where the param data length was incorrect.
 
static uint32_t ReceiverCounters_RDMChecksumInvalidCounter ()
 The number of RDM frames received where the checksum was incorrect.
 
static uint32_t ReceiverCounters_DMXLastChecksum ()
 The additive checksum of the last DMX frame. More...
 
static uint32_t ReceiverCounters_DMXLastSlotCount ()
 The number of slots in the most recent DMX frame. More...
 
static uint32_t ReceiverCounters_DMXMinimumSlotCount ()
 The smallest DMX frame seen. More...
 
static uint32_t ReceiverCounters_DMXMaximumSlotCount ()
 The largest DMX frame seen. More...
 
void Responder_Initialize ()
 Initialize the Responder sub-system.
 
void Responder_Receive (const TransceiverEvent *event)
 Called when data is received. More...
 

Variables

ReceiverCounters g_responder_counters
 The counters for the receiver.
 

Function Documentation

static uint32_t ReceiverCounters_DMXLastChecksum ( )
inlinestatic

The additive checksum of the last DMX frame.

If no DMX frames have been received, 0xff is reported.

static uint32_t ReceiverCounters_DMXLastSlotCount ( )
inlinestatic

The number of slots in the most recent DMX frame.

If no DMX frames have been received, 0xffff is reported.

static uint32_t ReceiverCounters_DMXMaximumSlotCount ( )
inlinestatic

The largest DMX frame seen.

If no DMX frames have been received, 0xffff is reported.

static uint32_t ReceiverCounters_DMXMinimumSlotCount ( )
inlinestatic

The smallest DMX frame seen.

If no DMX frames have been received, 0xffff is reported. This is only updated when the start of the next frame is received.

static uint32_t ReceiverCounters_RDMLengthMismatch ( )
inlinestatic

The number of RDM frames that had a length mismatch.

See COMMS_STATUS from E1.20 for a description

static uint32_t ReceiverCounters_RDMShortFrame ( )
inlinestatic

The number of RDM frames that were too short.

See COMMS_STATUS from E1.20 for a description

void Responder_Receive ( const TransceiverEvent event)

Called when data is received.

Parameters
eventThe transceiver event.