M5Unit-INFRARED 0.2.0 git rev:76ad9e1
Loading...
Searching...
No Matches
m5::unit::ir::DecodeResult Struct Reference

Result of decoding a received IR frame. More...

#include <ir_codec.hpp>

Public Attributes

CodecType protocol {CodecType::Unknown}
 Detected protocol.
 
uint16_t address {}
 Device address.
 
uint16_t command {}
 Command code.
 
uint64_t raw {}
 Raw encoded value (protocol-specific, up to 64 bits)
 
uint8_t bits {}
 Total bit count (NEC=32, SIRC=12/15/20, RC5=14, RC6=21)
 
bool repeat {}
 True if repeat frame (NEC repeat code / re-sent frame)
 
bool toggle {}
 Toggle bit (RC5/RC6 only)
 

Detailed Description

Result of decoding a received IR frame.