IRremote
|
Data structure for the user application, available as decodedIRData. More...
#include <IRProtocol.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 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_struct * | rawDataPtr |
Pointer of the raw timing data to be decoded. Mainly the OverflowFlag and the data buffer filled by receiving ISR. More... | |
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.
uint16_t IRData::address |
Decoded address, Distance protocol (tMarkTicksLong (if tMarkTicksLong == 0, then tMarkTicksShort) << 8) | tSpaceTicksLong.
Definition at line 110 of file IRProtocol.h.
uint16_t IRData::command |
Decoded command, Distance protocol (tMarkTicksShort << 8) | tSpaceTicksShort.
Definition at line 111 of file IRProtocol.h.
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.
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.
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.
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.
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.
decode_type_t IRData::protocol |
UNKNOWN, NEC, SONY, RC5, PULSE_DISTANCE, ...
Definition at line 109 of file IRProtocol.h.
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.
IRRawlenType IRData::rawlen |
counter of entries in rawbuf of last received frame.
Definition at line 128 of file IRProtocol.h.