IRremote
IRData Struct Reference

Data structure for the user application, available as decodedIRData. More...

#include <IRProtocol.h>

Collaboration diagram for IRData:

Public Attributes

decode_type_t protocol
 UNKNOWN, NEC, SONY, RC5, PULSE_DISTANCE, ... More...
 
uint16_t address
 Decoded address, Distance protocol (tMarkTicksLong (if tMarkTicksLong == 0, then tMarkTicksShort) << 8) | tSpaceTicksLong. More...
 
uint16_t command
 Decoded command, Distance protocol (tMarkTicksShort << 8) | tSpaceTicksShort. More...
 
uint16_t extra
 Contains upper 16 bit of Magiquest WandID, Kaseikyo unknown vendor ID and Distance protocol (HeaderMarkTicks << 8) | HeaderSpaceTicks. More...
 
IRRawDataType decodedRawData
 Up to 32/64 bit decoded raw data, to be used for send functions. More...
 
uint16_t numberOfBits
 Number of bits received for data (address + command + parity) - to determine protocol length if different length are possible. More...
 
uint8_t flags
 IRDATA_FLAGS_IS_REPEAT, IRDATA_FLAGS_WAS_OVERFLOW etc. See IRDATA_FLAGS_* definitions above. More...
 
IRRawlenType rawlen
 counter of entries in rawbuf of last received frame. More...
 
uint16_t initialGapTicks
 contains the initial gap (pre 4.4: the value in rawbuf[0]) of the last received frame. More...
 
irparams_structrawDataPtr
 Pointer of the raw timing data to be decoded. Mainly the OverflowFlag and the data buffer filled by receiving ISR. More...
 

Detailed Description

Data structure for the user application, available as decodedIRData.

Filled by decoders and read by print functions or user application.

Definition at line 108 of file IRProtocol.h.

Member Data Documentation

◆ address

uint16_t IRData::address

Decoded address, Distance protocol (tMarkTicksLong (if tMarkTicksLong == 0, then tMarkTicksShort) << 8) | tSpaceTicksLong.

Definition at line 110 of file IRProtocol.h.

◆ command

uint16_t IRData::command

Decoded command, Distance protocol (tMarkTicksShort << 8) | tSpaceTicksShort.

Definition at line 111 of file IRProtocol.h.

◆ decodedRawData

IRRawDataType IRData::decodedRawData

Up to 32/64 bit decoded raw data, to be used for send functions.

Definition at line 113 of file IRProtocol.h.

◆ extra

uint16_t IRData::extra

Contains upper 16 bit of Magiquest WandID, Kaseikyo unknown vendor ID and Distance protocol (HeaderMarkTicks << 8) | HeaderSpaceTicks.

Definition at line 112 of file IRProtocol.h.

◆ flags

uint8_t IRData::flags

IRDATA_FLAGS_IS_REPEAT, IRDATA_FLAGS_WAS_OVERFLOW etc. See IRDATA_FLAGS_* definitions above.

Definition at line 120 of file IRProtocol.h.

◆ initialGapTicks

uint16_t IRData::initialGapTicks

contains the initial gap (pre 4.4: the value in rawbuf[0]) of the last received frame.

Definition at line 129 of file IRProtocol.h.

◆ numberOfBits

uint16_t IRData::numberOfBits

Number of bits received for data (address + command + parity) - to determine protocol length if different length are possible.

Definition at line 119 of file IRProtocol.h.

◆ protocol

decode_type_t IRData::protocol

UNKNOWN, NEC, SONY, RC5, PULSE_DISTANCE, ...

Definition at line 109 of file IRProtocol.h.

◆ rawDataPtr

irparams_struct* IRData::rawDataPtr

Pointer of the raw timing data to be decoded. Mainly the OverflowFlag and the data buffer filled by receiving ISR.

Definition at line 131 of file IRProtocol.h.

◆ rawlen

IRRawlenType IRData::rawlen

counter of entries in rawbuf of last received frame.

Definition at line 128 of file IRProtocol.h.


The documentation for this struct was generated from the following file: