IRremote
IRData Struct Reference

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

#include <IRremoteInt.h>

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<protocol>Raw 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...
 

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 150 of file IRremoteInt.h.

Member Data Documentation

◆ address

uint16_t IRData::address

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

Definition at line 152 of file IRremoteInt.h.

◆ command

uint16_t IRData::command

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

Definition at line 153 of file IRremoteInt.h.

◆ decodedRawData

IRRawDataType IRData::decodedRawData

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

Definition at line 155 of file IRremoteInt.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 154 of file IRremoteInt.h.

◆ flags

uint8_t IRData::flags

IRDATA_FLAGS_IS_REPEAT, IRDATA_FLAGS_WAS_OVERFLOW etc. See IRDATA_FLAGS_* definitions above.

Definition at line 162 of file IRremoteInt.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 171 of file IRremoteInt.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 161 of file IRremoteInt.h.

◆ protocol

decode_type_t IRData::protocol

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

Definition at line 151 of file IRremoteInt.h.

◆ rawlen

IRRawlenType IRData::rawlen

Counter of entries in rawbuf of last received frame.

Definition at line 170 of file IRremoteInt.h.


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