Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change somfy_iohc to recognize more messages #2258

Merged
merged 2 commits into from
Jan 22, 2023
Merged

Commits on Dec 1, 2022

  1. Change somfy_iohc to recognize more messages

    - Messages can be as short as 11 bytes.
    - Message length has 5 bits instead of 4.
    - Flags were assumed to be constant, causing two-way remotes not to get recognized.
    - The message type (command id) is not indicated by the 1st but the 9th byte.
    - Trailing bytes were not removed, leading to invalid length and failing CRC.
    - Sequence numbers and MAC are limited to authenticated one-way frames.
    
    This was briefly tested using both one- and two-way remotes.
    mtdcr committed Dec 1, 2022
    Configuration menu
    Copy the full SHA
    15789b6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8dfd7d5 View commit details
    Browse the repository at this point in the history