Pelikan: add sub protocol for Lite version

This commit is contained in:
Pascal Langer
2020-06-02 19:04:05 +02:00
parent 3dcf74c2e4
commit 7e451c13a8
6 changed files with 99 additions and 39 deletions

View File

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