V2X2: new subprotocol JXD506

Protocol number: 5
Subprotocol: 1
This commit is contained in:
pascallanger
2016-12-12 11:15:37 +01:00
parent 1ddc923631
commit 87de5b5305
4 changed files with 62 additions and 30 deletions

View File

@@ -154,6 +154,11 @@ enum HONTAI
FORMAT_JJRCX1 = 1,
FORMAT_X5C1 = 2
};
enum V2X2
{
V2X2 = 0,
JXD506 = 1,
};
#define NONE 0
#define P_HIGH 1
@@ -490,6 +495,10 @@ Serial: 100000 Baud 8e2 _ xxxx xxxx p --
PPM_IBUS 1
PWM_SBUS 2
PPM_SBUS 3
sub_protocol==V2X2
V2X2 0
JXD506 1
Power value => 0x80 0=High/1=Low
Stream[3] = option_protocol;
option_protocol value is -127..127