Skip to content

Support IR Remote Controls that use Toggle Bit #126

@KarlKiel

Description

@KarlKiel

Is there an existing issue for this?

  • I have searched the existing issues

Description

A lot of IR controls have implemented 2 sets of IR Codes and toggle between the those 2 sets at every press of a button.
This functtionality is also called "Toggle Bit" and is also for example part of the official definition of the very commonly used RC-5 protocol. (e.g. https://de.wikipedia.org/wiki/RC-5)
The idea is to prevent that the same code is interpreted more than once from the end device.
Unfortunately Remote2 (and Remote 1 also..) are not supporting Toggle Bit today - therefore a device that uses Toggle Bit will only interpret one press of a button and ignore all following presses of that same button before any button press of aother button has been interpreted.
Here an example for such a toggle bit that is sent at two following presses (RC5, Page 7, Command 16:)
Standard:
0000 0073 000B 0000 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0020 0020 0040 0040 0040 0020 0020 0020 0020 0020 0020 09B7
"Toggled":
0000 0073 000B 0000 0020 0020 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0040 0040 0040 0020 0020 0020 0020 0020 0020 09B7
Would be great to support the toggle bit behaviour to support a lot more devices with smooth control.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestFeature requestirInfrared releated issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions