ESky: addition of sub-protocol ET4

This commit is contained in:
Pascal Langer
2020-03-21 15:16:01 +01:00
parent a4e9082f53
commit 62250d2f25
6 changed files with 96 additions and 37 deletions

View File

@@ -19,7 +19,7 @@
#define VERSION_MAJOR 1
#define VERSION_MINOR 3
#define VERSION_REVISION 0
#define VERSION_PATCH_LEVEL 73
#define VERSION_PATCH_LEVEL 74
//******************
// Protocols
@@ -334,6 +334,11 @@ enum FRSKY_R9
R9_915_8CH = 2,
R9_868_8CH = 3,
};
enum ESKY
{
ESKY_STD = 0,
ESKY_ET4 = 1,
};
#define NONE 0
#define P_HIGH 1
@@ -884,6 +889,9 @@ Serial: 100000 Baud 8e2 _ xxxx xxxx p --
R9_868 1
R9_915_8CH 2
R9_868_8CH 3
sub_protocol==ESKY
ESKY_STD 0
ESKY_ET4 1
Power value => 0x80 0=High/1=Low
Stream[3] = option_protocol;