IRremote
IRData Struct Reference

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

#include <IRremoteInt.h>

Collaboration diagram for IRData:

Public Attributes

decode_type_t protocol
 UNKNOWN, NEC, SONY, RC5, ... More...
 
uint16_t address
 Decoded address, Distance protocol (OneMarkTicks << 8) | OneSpaceTicks. More...
 
uint16_t command
 Decoded command, Distance protocol (ZeroMarkTicks << 8) | ZeroSpaceTicks. More...
 
uint16_t extra
 Contains MagiQuest magnitude, 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...
 
uint32_t decodedRawData
 Up to 32 bit decoded raw data, to be used for send functions. More...
 
irparams_structrawDataPtr
 Pointer of the raw timing data to be decoded. Mainly 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 150 of file IRremoteInt.h.

Member Data Documentation

◆ address

uint16_t IRData::address

Decoded address, Distance protocol (OneMarkTicks << 8) | OneSpaceTicks.

Definition at line 152 of file IRremoteInt.h.

◆ command

uint16_t IRData::command

Decoded command, Distance protocol (ZeroMarkTicks << 8) | ZeroSpaceTicks.

Definition at line 153 of file IRremoteInt.h.

◆ decodedRawData

uint32_t IRData::decodedRawData

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

Definition at line 157 of file IRremoteInt.h.

◆ extra

uint16_t IRData::extra

Contains MagiQuest magnitude, Kaseikyo unknown vendor ID and Distance protocol (HeaderMarkTicks << 8) | HeaderSpaceTicks.

Definition at line 154 of file IRremoteInt.h.

◆ flags

uint8_t IRData::flags

See IRDATA_FLAGS_* definitions above.

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

◆ protocol

decode_type_t IRData::protocol

UNKNOWN, NEC, SONY, RC5, ...

Definition at line 151 of file IRremoteInt.h.

◆ rawDataPtr

irparams_struct* IRData::rawDataPtr

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

Definition at line 161 of file IRremoteInt.h.


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