Commit 5e1f9a42556bf2b6d37c3593d55e4c57d36cb04a

Authored by 孙向锦
1 parent d93d9c88

update

Showing 1 changed file with 47 additions and 47 deletions
海亮定制.md
@@ -105,17 +105,17 @@ MQTT服务器配置结果检查 @@ -105,17 +105,17 @@ MQTT服务器配置结果检查
105 ${clinetId} clinetId 是基站编号,为替换字符串。 105 ${clinetId} clinetId 是基站编号,为替换字符串。
106 106
107 107
108 -#### 3.2.1.1 应用程序发布的主题 108 +#### 3.2.1.1 应用程序发布的<br>主题
109 109
110 -| 主题 | 功能 | 110 +| <br>主题 | 功能 |
111 | --- | --- | 111 | --- | --- |
112 | /client/${clientId}/operate | 基站的设置,查询等指令 | 112 | /client/${clientId}/operate | 基站的设置,查询等指令 |
113 | /lesson/class/${clinetId}/receive | 接收答题的指令 | 113 | /lesson/class/${clinetId}/receive | 接收答题的指令 |
114 114
115 115
116 -#### 3.2.1.2 应用程序订阅的主题 116 +#### 3.2.1.2 应用程序订阅的<br>主题
117 117
118 -| 主题 | 功能 | 118 +| <br>主题 | 功能 |
119 | --- | --- | 119 | --- | --- |
120 | /client/${clientId}/online | 基站上线通知。 | 120 | /client/${clientId}/online | 基站上线通知。 |
121 | /client/${clientId}/offline | 基站下线通知。 | 121 | /client/${clientId}/offline | 基站下线通知。 |
@@ -167,7 +167,7 @@ ${clinetId} clinetId 是基站编号,为替换字符串。 @@ -167,7 +167,7 @@ ${clinetId} clinetId 是基站编号,为替换字符串。
167 167
168 对客户端授时,发送指令即可,基站会完成校时。 168 对客户端授时,发送指令即可,基站会完成校时。
169 169
170 -主题 : /client/${client}/operate 170 +<br>主题 : /client/${client}/operate
171 171
172 ``` 172 ```
173 { 173 {
@@ -188,9 +188,9 @@ ${clinetId} clinetId 是基站编号,为替换字符串。 @@ -188,9 +188,9 @@ ${clinetId} clinetId 是基站编号,为替换字符串。
188 188
189 #### 基站上线(待完成-可能修改) 189 #### 基站上线(待完成-可能修改)
190 190
191 -由基站发给应用程序,应用需要订阅主题 191 +由基站发给应用程序,应用需要订阅<br>主题
192 192
193 -主题 : /client/${clientId}/online 193 +<br>主题 : /client/${clientId}/online
194 194
195 <br>指令内容: 195 <br>指令内容:
196 ``` 196 ```
@@ -206,9 +206,9 @@ ${clinetId} clinetId 是基站编号,为替换字符串。 @@ -206,9 +206,9 @@ ${clinetId} clinetId 是基站编号,为替换字符串。
206 206
207 #### 基站下线(待完成-可能修改) 207 #### 基站下线(待完成-可能修改)
208 208
209 -由服务器发给应用程序,应用需要订阅主题 209 +由服务器发给应用程序,应用需要订阅<br>主题
210 210
211 -主题:/client/${clientId}/offline 211 +<br>主题:/client/${clientId}/offline
212 <br>指令内容: 212 <br>指令内容:
213 ```json 213 ```json
214 { 214 {
@@ -223,7 +223,7 @@ ${clinetId} clinetId 是基站编号,为替换字符串。 @@ -223,7 +223,7 @@ ${clinetId} clinetId 是基站编号,为替换字符串。
223 223
224 应用程序发送给基站 224 应用程序发送给基站
225 225
226 -主题: /client/${client}/operate 226 +<br>主题: /client/${client}/operate
227 <br>指令内容: 227 <br>指令内容:
228 ```json 228 ```json
229 { 229 {
@@ -238,7 +238,7 @@ ${clinetId} clinetId 是基站编号,为替换字符串。 @@ -238,7 +238,7 @@ ${clinetId} clinetId 是基站编号,为替换字符串。
238 } 238 }
239 ``` 239 ```
240 240
241 -| 主题 | 备注 | 241 +| <br>主题 | 备注 |
242 | --- | --- | 242 | --- | --- |
243 | i= 20 |基站信息设置与读取 | 243 | i= 20 |基站信息设置与读取 |
244 | f |基站频点 频点范围1-80| 244 | f |基站频点 频点范围1-80|
@@ -253,7 +253,7 @@ ${clinetId} clinetId 是基站编号,为替换字符串。 @@ -253,7 +253,7 @@ ${clinetId} clinetId 是基站编号,为替换字符串。
253 253
254 基站发送给应用程序 254 基站发送给应用程序
255 255
256 -主题: /client/${client}/report 256 +<br>主题: /client/${client}/report
257 <br>指令内容: 257 <br>指令内容:
258 ```json 258 ```json
259 { 259 {
@@ -282,7 +282,7 @@ ${clinetId} clinetId 是基站编号,为替换字符串。 @@ -282,7 +282,7 @@ ${clinetId} clinetId 是基站编号,为替换字符串。
282 #### 基站错误信息上报(待完成-可能修改) 282 #### 基站错误信息上报(待完成-可能修改)
283 283
284 基站发送给应用程序 284 基站发送给应用程序
285 -主题:/client/${client}/error 285 +<br>主题:/client/${client}/error
286 <br>指令内容: 286 <br>指令内容:
287 ```json 287 ```json
288 { 288 {
@@ -306,8 +306,8 @@ ${clinetId} clinetId 是基站编号,为替换字符串。 @@ -306,8 +306,8 @@ ${clinetId} clinetId 是基站编号,为替换字符串。
306 306
307 #### 键盘上线 307 #### 键盘上线
308 308
309 -由基站发给应用程序,应用需要订阅主题  
310 -主题: /client/${clientId}/card/online 309 +由基站发给应用程序,应用需要订阅<br>主题
  310 +<br>主题: /client/${clientId}/card/online
311 <br>指令内容: 311 <br>指令内容:
312 ```json 312 ```json
313 { 313 {
@@ -329,8 +329,8 @@ ${clinetId} clinetId 是基站编号,为替换字符串。 @@ -329,8 +329,8 @@ ${clinetId} clinetId 是基站编号,为替换字符串。
329 329
330 #### 键盘下线 330 #### 键盘下线
331 331
332 -由基站发给应用程序,应用需要订阅主题  
333 -主题: /client/${clientId}/card/offline 332 +由基站发给应用程序,应用需要订阅<br>主题
  333 +<br>主题: /client/${clientId}/card/offline
334 <br>指令内容: 334 <br>指令内容:
335 ```json 335 ```json
336 { 336 {
@@ -351,7 +351,7 @@ ${clinetId} clinetId 是基站编号,为替换字符串。 @@ -351,7 +351,7 @@ ${clinetId} clinetId 是基站编号,为替换字符串。
351 #### 读取白名单 351 #### 读取白名单
352 352
353 应用程序发送给基站 353 应用程序发送给基站
354 -主题: /lesson/class/${clinetId}/receive 354 +<br>主题: /lesson/class/${clinetId}/receive
355 <br>指令内容: 355 <br>指令内容:
356 ```json 356 ```json
357 { 357 {
@@ -365,7 +365,7 @@ ${clinetId} clinetId 是基站编号,为替换字符串。 @@ -365,7 +365,7 @@ ${clinetId} clinetId 是基站编号,为替换字符串。
365 365
366 366
367 基站发给应用程序 367 基站发给应用程序
368 -主题: /lesson/class/${clinetId}/receive 368 +<br>主题: /lesson/class/${clinetId}/receive
369 <br>指令内容: 369 <br>指令内容:
370 ```json 370 ```json
371 { 371 {
@@ -388,7 +388,7 @@ ${clinetId} clinetId 是基站编号,为替换字符串。 @@ -388,7 +388,7 @@ ${clinetId} clinetId 是基站编号,为替换字符串。
388 #### 添加白名单 388 #### 添加白名单
389 389
390 应用程序发送给基站 390 应用程序发送给基站
391 -主题: /lesson/class/${clinetId}/receive 391 +<br>主题: /lesson/class/${clinetId}/receive
392 <br>指令内容: 392 <br>指令内容:
393 ```json 393 ```json
394 { 394 {
@@ -407,7 +407,7 @@ ${clinetId} clinetId 是基站编号,为替换字符串。 @@ -407,7 +407,7 @@ ${clinetId} clinetId 是基站编号,为替换字符串。
407 #### 删除白名单 407 #### 删除白名单
408 408
409 应用程序发送给基站 409 应用程序发送给基站
410 -主题: /lesson/class/${clinetId}/receive 410 +<br>主题: /lesson/class/${clinetId}/receive
411 <br>指令内容: 411 <br>指令内容:
412 ```json 412 ```json
413 { 413 {
@@ -426,7 +426,7 @@ ${clinetId} clinetId 是基站编号,为替换字符串。 @@ -426,7 +426,7 @@ ${clinetId} clinetId 是基站编号,为替换字符串。
426 #### 清空白名单 426 #### 清空白名单
427 427
428 应用程序发送给基站 428 应用程序发送给基站
429 -主题: /lesson/class/${clinetId}/receive 429 +<br>主题: /lesson/class/${clinetId}/receive
430 <br>指令内容: 430 <br>指令内容:
431 ```json 431 ```json
432 { 432 {
@@ -447,8 +447,8 @@ ${clinetId} clinetId 是基站编号,为替换字符串。 @@ -447,8 +447,8 @@ ${clinetId} clinetId 是基站编号,为替换字符串。
447 447
448 #### 开启答题 448 #### 开启答题
449 449
450 -由应用程序发给基站,应用按照主题发送  
451 -主题: /lesson/class/${clinetId}/receive 450 +由应用程序发给基站,应用按照<br>主题发送
  451 +<br>主题: /lesson/class/${clinetId}/receive
452 <br>指令内容: 452 <br>指令内容:
453 ```json 453 ```json
454 { 454 {
@@ -494,8 +494,8 @@ public static String bytesToHexString(byte[] src) { @@ -494,8 +494,8 @@ public static String bytesToHexString(byte[] src) {
494 494
495 #### 接收答题数据 495 #### 接收答题数据
496 496
497 -由基站发给应用程序,应用订阅主题  
498 -主题: /lesson/class/${clinetId}/send 497 +由基站发给应用程序,应用订阅<br>主题
  498 +<br>主题: /lesson/class/${clinetId}/send
499 <br><br>指令内容: 499 <br><br>指令内容:
500 ```json 500 ```json
501 { 501 {
@@ -519,8 +519,8 @@ public static String bytesToHexString(byte[] src) { @@ -519,8 +519,8 @@ public static String bytesToHexString(byte[] src) {
519 519
520 520
521 #### 停止答题 521 #### 停止答题
522 -由应用程序发给基站,应用按照主题发送  
523 -主题:/lesson/class/${clinetId}/receive 522 +由应用程序发给基站,应用按照<br>主题发送
  523 +<br>主题:/lesson/class/${clinetId}/receive
524 <br>指令内容: 524 <br>指令内容:
525 ```json 525 ```json
526 { 526 {
@@ -538,8 +538,8 @@ public static String bytesToHexString(byte[] src) { @@ -538,8 +538,8 @@ public static String bytesToHexString(byte[] src) {
538 538
539 #### 开启答题(待完成-可能修改) 539 #### 开启答题(待完成-可能修改)
540 540
541 -由应用程序发给基站,应用按照主题发送  
542 -主题: /lesson/class/${clinetId}/receive 541 +由应用程序发给基站,应用按照<br>主题发送
  542 +<br>主题: /lesson/class/${clinetId}/receive
543 <br>指令内容: 543 <br>指令内容:
544 ```json 544 ```json
545 { 545 {
@@ -558,8 +558,8 @@ public static String bytesToHexString(byte[] src) { @@ -558,8 +558,8 @@ public static String bytesToHexString(byte[] src) {
558 558
559 #### 接收答题数据(待完成-可能修改) 559 #### 接收答题数据(待完成-可能修改)
560 560
561 -由基站发给应用程序,应用订阅主题  
562 -主题: /lesson/class/${clinetId}/send 561 +由基站发给应用程序,应用订阅<br>主题
  562 +<br>主题: /lesson/class/${clinetId}/send
563 <br>指令内容: 563 <br>指令内容:
564 ```json 564 ```json
565 { 565 {
@@ -588,8 +588,8 @@ public static String bytesToHexString(byte[] src) { @@ -588,8 +588,8 @@ public static String bytesToHexString(byte[] src) {
588 588
589 589
590 #### 停止答题(待完成-可能修改) 590 #### 停止答题(待完成-可能修改)
591 -由应用程序发给基站,应用按照主题发送  
592 -主题:/lesson/class/${clinetId}/receive 591 +由应用程序发给基站,应用按照<br>主题发送
  592 +<br>主题:/lesson/class/${clinetId}/receive
593 <br>指令内容: 593 <br>指令内容:
594 ```json 594 ```json
595 { 595 {
@@ -608,8 +608,8 @@ public static String bytesToHexString(byte[] src) { @@ -608,8 +608,8 @@ public static String bytesToHexString(byte[] src) {
608 608
609 #### 开启答题 609 #### 开启答题
610 610
611 -由应用程序发给基站,应用按照主题发送  
612 -主题: /lesson/class/${clinetId}/receive 611 +由应用程序发给基站,应用按照<br>主题发送
  612 +<br>主题: /lesson/class/${clinetId}/receive
613 <br>指令内容: 613 <br>指令内容:
614 ```json 614 ```json
615 { 615 {
@@ -650,8 +650,8 @@ public static String bytesToHexString(byte[] src) { @@ -650,8 +650,8 @@ public static String bytesToHexString(byte[] src) {
650 650
651 #### 接收答题数据 651 #### 接收答题数据
652 652
653 -由基站发给应用程序,应用订阅主题  
654 -主题: /lesson/class/${clinetId}/send 653 +由基站发给应用程序,应用订阅<br>主题
  654 +<br>主题: /lesson/class/${clinetId}/send
655 <br>指令内容: 655 <br>指令内容:
656 ```json 656 ```json
657 { 657 {
@@ -680,8 +680,8 @@ public static String bytesToHexString(byte[] src) { @@ -680,8 +680,8 @@ public static String bytesToHexString(byte[] src) {
680 680
681 681
682 #### 停止答题 682 #### 停止答题
683 -由应用程序发给基站,应用按照主题发送  
684 -主题:/lesson/class/${clinetId}/receive 683 +由应用程序发给基站,应用按照<br>主题发送
  684 +<br>主题:/lesson/class/${clinetId}/receive
685 <br>指令内容: 685 <br>指令内容:
686 ```json 686 ```json
687 { 687 {
@@ -698,7 +698,7 @@ public static String bytesToHexString(byte[] src) { @@ -698,7 +698,7 @@ public static String bytesToHexString(byte[] src) {
698 ### 基站升级 698 ### 基站升级
699 699
700 #### 开始升级 700 #### 开始升级
701 -主题: /client/${client}/operate 701 +<br>主题: /client/${client}/operate
702 <br>指令内容: 702 <br>指令内容:
703 ```json 703 ```json
704 { 704 {
@@ -722,7 +722,7 @@ public static String bytesToHexString(byte[] src) { @@ -722,7 +722,7 @@ public static String bytesToHexString(byte[] src) {
722 722
723 723
724 #### 升级进度报告 724 #### 升级进度报告
725 -主题: /client/${client}/report 725 +<br>主题: /client/${client}/report
726 <br>指令内容: 726 <br>指令内容:
727 ```json 727 ```json
728 { 728 {
@@ -745,7 +745,7 @@ public static String bytesToHexString(byte[] src) { @@ -745,7 +745,7 @@ public static String bytesToHexString(byte[] src) {
745 ### 键盘升级 745 ### 键盘升级
746 746
747 #### 开始升级 747 #### 开始升级
748 -主题: /client/${client}/operate 748 +<br>主题: /client/${client}/operate
749 <br>指令内容: 749 <br>指令内容:
750 ```json 750 ```json
751 { 751 {
@@ -766,7 +766,7 @@ public static String bytesToHexString(byte[] src) { @@ -766,7 +766,7 @@ public static String bytesToHexString(byte[] src) {
766 766
767 767
768 #### 升级进度报告 768 #### 升级进度报告
769 -主题: /client/${client}/report 769 +<br>主题: /client/${client}/report
770 <br>指令内容: 770 <br>指令内容:
771 ```json 771 ```json
772 { 772 {
@@ -789,7 +789,7 @@ public static String bytesToHexString(byte[] src) { @@ -789,7 +789,7 @@ public static String bytesToHexString(byte[] src) {
789 ### 文本下发 789 ### 文本下发
790 790
791 #### 文本下发 791 #### 文本下发
792 -主题: /client/${client}/operate 792 +<br>主题: /client/${client}/operate
793 <br>指令内容: 793 <br>指令内容:
794 ```json 794 ```json
795 { 795 {
@@ -835,7 +835,7 @@ public static String bytesToHexString(byte[] src) { @@ -835,7 +835,7 @@ public static String bytesToHexString(byte[] src) {
835 835
836 836
837 #### 文本下发返回(待完成-可能修改) 837 #### 文本下发返回(待完成-可能修改)
838 -主题: /client/${client}/report 838 +<br>主题: /client/${client}/report
839 <br>指令内容: 839 <br>指令内容:
840 ```json 840 ```json
841 { 841 {
@@ -857,7 +857,7 @@ public static String bytesToHexString(byte[] src) { @@ -857,7 +857,7 @@ public static String bytesToHexString(byte[] src) {
857 857
858 ### 学生卡信息上报 858 ### 学生卡信息上报
859 卡初始化组网的时候会上报一次 859 卡初始化组网的时候会上报一次
860 -主题:/client/${client}/report 860 +<br>主题:/client/${client}/report
861 <br>指令内容: 861 <br>指令内容:
862 ```json 862 ```json
863 { 863 {