Commit 1713e2bab993596d5535002b37223f27626fa0fe
1 parent
7f2b9922
添加包总数节点
Showing
1 changed file
with
4 additions
and
0 deletions
海亮定制.md
@@ -889,6 +889,7 @@ public static String bytesToHexString(byte[] src) { | @@ -889,6 +889,7 @@ public static String bytesToHexString(byte[] src) { | ||
889 | "cmd": 1, | 889 | "cmd": 1, |
890 | "total": 1, | 890 | "total": 1, |
891 | "current": 1, | 891 | "current": 1, |
892 | + "qs": 2, | ||
892 | "m": [{ | 893 | "m": [{ |
893 | "sn": "2126833671", | 894 | "sn": "2126833671", |
894 | "text": "hex:d5c5c8fd" | 895 | "text": "hex:d5c5c8fd" |
@@ -904,6 +905,7 @@ public static String bytesToHexString(byte[] src) { | @@ -904,6 +905,7 @@ public static String bytesToHexString(byte[] src) { | ||
904 | | sn |键盘列表 | | 905 | | sn |键盘列表 | |
905 | | current |当前第几包 | | 906 | | current |当前第几包 | |
906 | | total |一共多少包 | | 907 | | total |一共多少包 | |
908 | +| qs |键盘总数 如果是多包,是多包总和 | | ||
907 | | cmd |下发的命令 <br> 1: 姓名下发 <br> 4: 第二行文本 <br> 85: 自判题标题 <br> 87: 清除 | | 909 | | cmd |下发的命令 <br> 1: 姓名下发 <br> 4: 第二行文本 <br> 85: 自判题标题 <br> 87: 清除 | |
908 | | text |标题信息,以hex:开头添加的内容 内容为GB2312的hex编码 | | 910 | | text |标题信息,以hex:开头添加的内容 内容为GB2312的hex编码 | |
909 | 911 | ||
@@ -953,6 +955,7 @@ public static String bytesToHexString(byte[] src) { | @@ -953,6 +955,7 @@ public static String bytesToHexString(byte[] src) { | ||
953 | "cmd": 1, | 955 | "cmd": 1, |
954 | "total": 1, | 956 | "total": 1, |
955 | "current": 1, | 957 | "current": 1, |
958 | + "qs": 1, | ||
956 | "m": [{ | 959 | "m": [{ |
957 | "sn": "2126833671", | 960 | "sn": "2126833671", |
958 | "success": 0 | 961 | "success": 0 |
@@ -965,6 +968,7 @@ public static String bytesToHexString(byte[] src) { | @@ -965,6 +968,7 @@ public static String bytesToHexString(byte[] src) { | ||
965 | | sn |键盘号 | | 968 | | sn |键盘号 | |
966 | | current |当前第几包 | | 969 | | current |当前第几包 | |
967 | | total |一共多少包 | | 970 | | total |一共多少包 | |
971 | +| qs | 键盘总数 如果是多包,是多包总和 | | ||
968 | | cmd |下发的命令 <br> 1: 姓名下发 <br> 4: 第二行文本 <br> 85:自判题标题 <br> 87:清除 | | 972 | | cmd |下发的命令 <br> 1: 姓名下发 <br> 4: 第二行文本 <br> 85:自判题标题 <br> 87:清除 | |
969 | | success | 是否成功。<br> 0 表示成功 <br> -1 失败 | | 973 | | success | 是否成功。<br> 0 表示成功 <br> -1 失败 | |
970 | 974 |