mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 02:52:11 +01:00
v1.4.1
Add the ability to view receiver data.
This commit is contained in:
parent
7bd23e6bbe
commit
3f662b7bd0
11 changed files with 363 additions and 34 deletions
10
Somfy.h
10
Somfy.h
|
|
@ -11,15 +11,22 @@ typedef struct appver_t {
|
|||
};
|
||||
|
||||
enum class somfy_commands : byte {
|
||||
Unknown0 = 0x0,
|
||||
My = 0x1,
|
||||
Up = 0x2,
|
||||
MyUp = 0x3,
|
||||
Down = 0x4,
|
||||
MyDown = 0x5,
|
||||
UpDown = 0x6,
|
||||
Unknown7 = 0x7,
|
||||
Prog = 0x8,
|
||||
SunFlag = 0x9,
|
||||
Flag = 0xA
|
||||
Flag = 0xA,
|
||||
StepUp = 0xB,
|
||||
StepDown = 0xC,
|
||||
UnknownD = 0xD,
|
||||
UnknownE = 0xE,
|
||||
UnknownF = 0xF,
|
||||
};
|
||||
enum class shade_types : byte {
|
||||
roller = 0x00,
|
||||
|
|
@ -227,6 +234,7 @@ class Transceiver {
|
|||
void sendFrame(byte *frame, uint8_t sync);
|
||||
void beginTransmit();
|
||||
void endTransmit();
|
||||
void emitFrame(somfy_frame_t *frame);
|
||||
};
|
||||
class SomfyShadeController {
|
||||
protected:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue