Commit 3059b53febec98b1ad7c188fdc4a2de79714832a
1 parent
6dd46340
update
Showing
1 changed file
with
8 additions
and
0 deletions
海亮定制.md
... | ... | @@ -806,6 +806,8 @@ public static String bytesToHexString(byte[] src) { |
806 | 806 | "i": 60, |
807 | 807 | "en": "6", |
808 | 808 | "cmd": 1, |
809 | + "total": 1, | |
810 | + "current": 1, | |
809 | 811 | "m": [{ |
810 | 812 | "sn": "2126833671", |
811 | 813 | "text": "hex:d5c5c8fd" |
... | ... | @@ -819,6 +821,8 @@ public static String bytesToHexString(byte[] src) { |
819 | 821 | | --- | --- | |
820 | 822 | | i = 60 | 文本下发 | |
821 | 823 | | sn |键盘列表 | |
824 | +| current |当前第几包 | | |
825 | +| total |一共多少包 | | |
822 | 826 | | cmd |下发的命令 <br> 1: 姓名下发 <br> 4: 第二行文本 <br> 85: 自判题判断 <br> 87: 清除 | |
823 | 827 | | text |标题信息,以hex:开头添加的内容 内容为GBK的hex编码 | |
824 | 828 | |
... | ... | @@ -855,6 +859,8 @@ public static String bytesToHexString(byte[] src) { |
855 | 859 | "i": 61, |
856 | 860 | "en": "6", |
857 | 861 | "cmd": 1, |
862 | + "total": 1, | |
863 | + "current": 1, | |
858 | 864 | "m": [{ |
859 | 865 | "sn": "2126833671", |
860 | 866 | "success": 0 |
... | ... | @@ -868,6 +874,8 @@ public static String bytesToHexString(byte[] src) { |
868 | 874 | | --- | --- | |
869 | 875 | | i = 61 | 文本下发返回 | |
870 | 876 | | sn |键盘号 | |
877 | +| current |当前第几包 | | |
878 | +| total |一共多少包 | | |
871 | 879 | | cmd |下发的命令 <br> 1: 姓名下发 <br> 4: 第二行文本 <br> 85:自判题判断 <br> 87:清除 | |
872 | 880 | | success | 是否成功。<br> 0 表示成功 <br> -1 失败 | |
873 | 881 | ... | ... |