HoTT: add subprotocols

This commit is contained in:
Pascal Langer
2020-06-01 22:55:32 +02:00
parent 1f65025036
commit aeb8d67219
6 changed files with 26 additions and 6 deletions

View File

@@ -19,7 +19,7 @@
#define VERSION_MAJOR 1
#define VERSION_MINOR 3
#define VERSION_REVISION 1
#define VERSION_PATCH_LEVEL 5
#define VERSION_PATCH_LEVEL 6
//******************
// Protocols
@@ -358,6 +358,12 @@ enum FRSKYL
LR12_6CH = 1,
};
enum HOTT
{
HOTT_SYNC = 0,
HOTT_NO_SYNC= 1,
};
#define NONE 0
#define P_HIGH 1
#define P_LOW 0
@@ -943,6 +949,9 @@ Serial: 100000 Baud 8e2 _ xxxx xxxx p --
sub_protocol==FRSKYL
LR12 0
LR12_6CH 1
sub_protocol==HOTT
HOTT_SYNC 0
HOTT_NO_SYNC 1
Power value => 0x80 0=High/1=Low
Stream[3] = option_protocol;