mirror of
https://github.com/Show-maket/IR-protocol.git
synced 2025-06-28 05:09:40 +00:00
add Raw
This commit is contained in:
@ -17,6 +17,7 @@ public:
|
||||
PacketTypes::DataBack gotBackData;
|
||||
PacketTypes::Accept gotAccept;
|
||||
PacketTypes::Request gotRequest;
|
||||
PacketTypes::BasePack gotRaw;
|
||||
|
||||
IR_Decoder(const uint8_t isrPin, uint16_t addr, IR_Encoder* encPair = nullptr) : IR_DecoderRaw(isrPin, addr, encPair) {}
|
||||
|
||||
@ -26,6 +27,7 @@ public:
|
||||
#ifdef IRDEBUG_INFO
|
||||
Serial.println("PARSING RAW DATA");
|
||||
#endif
|
||||
gotRaw.set(&packInfo, id);
|
||||
isWaitingAcceptSend = false;
|
||||
switch (packInfo.buffer[0] >> 5 & IR_MASK_MSG_TYPE) {
|
||||
case IR_MSG_DATA_ACCEPT:
|
||||
|
Reference in New Issue
Block a user