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...
 
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
 See IRDATA_FLAGS_* definitions above. More...
 
IRRawDataType decodedRawData
 Up to 32/64 bit decoded raw data, to be used for send functions. 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 115 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 117 of file IRProtocol.h.

◆ command

uint16_t IRData::command

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

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

◆ flags

uint8_t IRData::flags

See IRDATA_FLAGS_* definitions above.

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

◆ protocol

decode_type_t IRData::protocol

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

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


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