Infrared remote library for ESP8266/ESP32: send and receive infrared signals with multiple protocols. Based on: https://github.com/shirriff/Arduino-IRremote/
Re-creation of the accidentally permanently closed PR, incorporated comments from @NiKiZe
The third byte in the raw state array originally represents payload length only. It was found that the first 4 bits is being used to identify whether current remote control is A or B. https://github.com/crankyoldgit/IRremoteESP8266/issues/2089
Modify the struct to accommodate both payload length and remote control type.
Add constants and functions to set/get current remote control type.
Fix the getInternalStateLength function to extract the last 4-bits instead using 8-bits.
Re-creation of the accidentally permanently closed PR, incorporated comments from @NiKiZe
The third byte in the raw state array originally represents payload length only. It was found that the first 4 bits is being used to identify whether current remote control is A or B. https://github.com/crankyoldgit/IRremoteESP8266/issues/2089