Commit 04f68731d33de0f5ebc4411e6d2ab1c5ce63ac0f
1 parent
09224cfa
海亮定制
Showing
1 changed file
with
5 additions
and
3 deletions
海亮定制.md
... | ... | @@ -121,7 +121,9 @@ ${clinetId} clinetId 是基站编号,为替换字符串。 |
121 | 121 | | /client/${clientId}/offline | 基站下线通知。 | |
122 | 122 | | /client/${clientId}/card/online | 答题器上线通知。 | |
123 | 123 | | /client/${clientId}/card/offline | 答题器离线通知。 | |
124 | +| /client/${client}/operate | 对基站进行设置或查询信息 | | |
124 | 125 | | /client/${clientId}/report | 基站主动上报状态,或者对设置指令的回应。 | |
126 | +| /lesson/class/${clinetId}/receive | 基站对答题的设置 | | |
125 | 127 | | /lesson/class/${clinetId}/send | 基站对答题的反馈 | |
126 | 128 | | /client/${clientId}/error | 基站错误信息上报 | |
127 | 129 | |
... | ... | @@ -231,7 +233,7 @@ ${clinetId} clinetId 是基站编号,为替换字符串。 |
231 | 233 | "m": { |
232 | 234 | "f": 1, |
233 | 235 | "mqtt_ip": "edunew.sunvotecloud.cn", |
234 | - "mqtt_port": 8443, | |
236 | + "mqtt_port": 1883, | |
235 | 237 | "mqtt_username": "admin", |
236 | 238 | "mqtt_password": "1223456789" |
237 | 239 | } |
... | ... | @@ -799,7 +801,7 @@ public static String bytesToHexString(byte[] src) { |
799 | 801 | ### 文本下发 |
800 | 802 | |
801 | 803 | #### 文本下发 |
802 | -<br>主题: /client/${client}/operate | |
804 | +<br>主题: /lesson/class/${clinetId}/receive | |
803 | 805 | <br>指令内容: |
804 | 806 | ```json |
805 | 807 | { |
... | ... | @@ -878,7 +880,7 @@ public static String bytesToHexString(byte[] src) { |
878 | 880 | |
879 | 881 | ### 学生卡信息上报 |
880 | 882 | 卡初始化组网的时候会上报一次 |
881 | -<br>主题:/client/${client}/report | |
883 | +<br>主题:/lesson/class/${clinetId}/send | |
882 | 884 | <br>指令内容: |
883 | 885 | ```json |
884 | 886 | { | ... | ... |