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...
 
uint_fast8_t rawlen
 counter of entries in rawbuf More...
 
uint16_t initialGap
 rawbuf[0] contains the initial gap of the last 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 107 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 109 of file IRProtocol.h.

◆ command

uint16_t IRData::command

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

Definition at line 110 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 112 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 111 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 119 of file IRProtocol.h.

◆ initialGap

uint16_t IRData::initialGap

rawbuf[0] contains the initial gap of the last frame.

Definition at line 127 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 118 of file IRProtocol.h.

◆ protocol

decode_type_t IRData::protocol

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

Definition at line 108 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 129 of file IRProtocol.h.

◆ rawlen

uint_fast8_t IRData::rawlen

counter of entries in rawbuf

Definition at line 123 of file IRProtocol.h.


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