Last modified by Mengting Qiu on 2025/07/03 18:49

From version 143.1
edited by Mengting Qiu
on 2025/06/18 15:53
Change comment: There is no comment for this version
To version 144.8
edited by Mengting Qiu
on 2025/07/03 18:37
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1013,8 +1013,10 @@
1013 1013  
1014 1014  === **MQTT Protocol:** ===
1015 1015  
1016 -Supports both **JSON-format** and **HEX-format** downlink commands (corresponding to AT commands).
1016 +==== **1. HEX-format** ====
1017 1017  
1018 +Supports **HEX-format** downlink commands (corresponding to AT commands).
1019 +
1018 1018  //Example~:// For the S31-CB's uplink interval modification (AT+TDC=900):
1019 1019  
1020 1020  * HEX format: (% style="color:blue" %)**01000384**(%%)  ~/~/ There are no Spaces. 0x0384(H)=900(D), that is, modify TDC to 900 seconds.
... ... @@ -1029,11 +1029,17 @@
1029 1029  (% style="color:red" %)**For example, the HEX-format downlink command corresponding to AT+TDC can only be used to configure TDC and cannot be used for queries. There is no HEX-format downlink command equivalent to AT+TDC=? , so querying TDC via downlink is not supported.**
1030 1030  
1031 1031  
1032 -**Template for Batch Configuration:**
1034 +==== **2. JSON-format ** ====
1033 1033  
1034 -We can also use templates to configure multiple commands AT once. Users only need to modify the parameters of the required AT commands in the correct template for each device.
1035 -Template:
1036 +**2.1(% style="color:#0000ff" %) JSON format templates.(%%)**
1036 1036  
1038 +All -CB nodes support downlink configuration modification using (% style="color:blue" %)**JSON format templates.**
1039 +
1040 +We can use templates to configure multiple commands AT once. Users only need to modify the parameters of the required AT commands in the correct template for each device.
1041 +Template.
1042 +
1043 +Take the template of DDS75-CB as an example:
1044 +
1037 1037  {
1038 1038  "AT+SERVADDR":"119.91.62.30,1882",
1039 1039  "AT+CLIENT":"JwcXKjQBNhQ2JykDDAA5Ahs",
... ... @@ -1046,17 +1046,22 @@
1046 1046  "AT+APN":"NULL",
1047 1047  "AT+5VT":"0",
1048 1048  "AT+PRO":"3,5",
1049 -"AT+TR":"900",
1050 -"AT+NOUD":"0",
1057 +"AT+TR":"15",
1058 +"AT+NOUD":"8",
1051 1051  "AT+CSQTIME":"5",
1052 -"AT+DNSTIMER":"0",
1060 +"AT+GDNS":"0",
1053 1053  "AT+TLSMOD":"0,0",
1054 1054  "AT+MQOS":"0",
1055 -"AT+TEMPALARM1":"0",
1056 -"AT+TEMPALARM2":"10",
1057 -"AT+TEMPALARM3":"0"
1063 +"AT+IPTYPE":"0",
1064 +"AT+GTDC":"0",
1065 +"AT+GNSST":"10",
1066 +"AT+GPS":"0"
1058 1058  }
1059 1059  
1069 +Explanations of two special commands in the template: AT+TR (set the detection interval: 0 ~~ 255 minutes) and AT+NOUD (set the number of groups) correspond to parameters in AT+CLOCKLOG.
1070 +
1071 +[[image:1751538862245-924.png]]
1072 +
1060 1060  **Instructions for Using the Template:**
1061 1061  
1062 1062  1. Modify the parameters for each AT command in the template as needed.
... ... @@ -1069,6 +1069,12 @@
1069 1069  
1070 1070  
1071 1071  
1085 +
1086 +
1087 +
1088 +
1089 +
1090 +
1072 1072  == 7.4 What if the signal is good but the domain name resolution fails? ==
1073 1073  
1074 1074  
1751538862245-924.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +114.7 KB
Content