Commit 1713e2bab993596d5535002b37223f27626fa0fe

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