-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change Somfy-IOHC to recognize more messages (#2258)
- 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.
- Loading branch information
Showing
1 changed file
with
90 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters