From 04f68731d33de0f5ebc4411e6d2ab1c5ce63ac0f Mon Sep 17 00:00:00 2001 From: Elvis Date: Sun, 4 Feb 2024 10:07:40 +0800 Subject: [PATCH] 海亮定制 --- 海亮定制.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/海亮定制.md b/海亮定制.md index 135511c..e59ea3e 100644 --- a/海亮定制.md +++ b/海亮定制.md @@ -121,7 +121,9 @@ ${clinetId} clinetId 是基站编号,为替换字符串。 | /client/${clientId}/offline | 基站下线通知。 | | /client/${clientId}/card/online | 答题器上线通知。 | | /client/${clientId}/card/offline | 答题器离线通知。 | +| /client/${client}/operate | 对基站进行设置或查询信息 | | /client/${clientId}/report | 基站主动上报状态,或者对设置指令的回应。 | +| /lesson/class/${clinetId}/receive | 基站对答题的设置 | | /lesson/class/${clinetId}/send | 基站对答题的反馈 | | /client/${clientId}/error | 基站错误信息上报 | @@ -231,7 +233,7 @@ ${clinetId} clinetId 是基站编号,为替换字符串。 "m": { "f": 1, "mqtt_ip": "edunew.sunvotecloud.cn", - "mqtt_port": 8443, + "mqtt_port": 1883, "mqtt_username": "admin", "mqtt_password": "1223456789" } @@ -799,7 +801,7 @@ public static String bytesToHexString(byte[] src) { ### 文本下发 #### 文本下发 -
主题: /client/${client}/operate +
主题: /lesson/class/${clinetId}/receive
指令内容: ```json { @@ -878,7 +880,7 @@ public static String bytesToHexString(byte[] src) { ### 学生卡信息上报 卡初始化组网的时候会上报一次 -
主题:/client/${client}/report +
主题:/lesson/class/${clinetId}/send
指令内容: ```json { -- libgit2 0.21.4