mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 02:52:11 +01:00
Fixed issue where step up and down command bytes were reversed on receive.
* TX commands for 80-bit controllers now send the last 3 bytes as witnessed by others * RX commands for step up/down only translate the last byte as a command byte. * Fixed inverted step commands for the API.
This commit is contained in:
parent
d3acf6bb5f
commit
ab7cdba519
8 changed files with 18 additions and 14 deletions
6
Somfy.h
6
Somfy.h
|
|
@ -22,13 +22,13 @@ enum class somfy_commands : byte {
|
|||
Prog = 0x8,
|
||||
SunFlag = 0x9,
|
||||
Flag = 0xA,
|
||||
StepUp = 0xB,
|
||||
StepDown = 0xB,
|
||||
UnknownC = 0xC,
|
||||
UnknownD = 0xD,
|
||||
UnknownE = 0xE,
|
||||
UnknownE = 0xE, // This command byte has been witnessed in the wild but cannot tell if it is from Somfy. No rolling code is sent with this and it is 56-bits.
|
||||
UnknownF = 0xF,
|
||||
// Command extensions for 80 bit frames
|
||||
StepDown = 0x8B
|
||||
StepUp = 0x8B
|
||||
};
|
||||
enum class shade_types : byte {
|
||||
roller = 0x00,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue