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

From version 143.2
edited by Mengting Qiu
on 2025/07/03 18:27
Change comment: There is no comment for this version
To version 144.13
edited by Mengting Qiu
on 2025/07/03 18:43
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1019,25 +1019,20 @@
1019 1019  
1020 1020  //Example~:// For the S31-CB's uplink interval modification (AT+TDC=900):
1021 1021  
1022 -* HEX format: (% style="color:blue" %)**01000384**(%%)  ~/~/ There are no Spaces. 0x0384(H)=900(D), that is, modify TDC to 900 seconds.
1023 -* JSON format: (% style="color:blue" %)**{AT+TDC=900}**(%%)**       **~/~/ The correct format is (% style="color:blue" %)**{AT Command}**(%%). No extra characters other than valid AT commands can be added within {}.
1022 +Downlink command: (% style="color:blue" %)**01000384**(%%)  ~/~/ There are no Spaces. 0x0384(H)=900(D), that is, modify TDC to 900 seconds.
1024 1024  
1025 -(% style="color:red" %)**Note:**
1026 1026  
1027 -(% style="color:red" %)**1. Only when the correct and valid download command is used and the format is correct can the device be configured through the download command. Invalid download content cannot be processed by the device and will be automatically restarted.**
1025 +==== **2. JSON-format ** ====
1028 1028  
1029 -(% style="color:red" %)**2. Devices designed with downlink commands can utilize different downlink formats (e.g., JSON or HEX) for configuration. However, regardless of the format, the functionality is strictly limited to the downlink command specifications described in the user manual's AT command explanation.**
1027 +===== **2. 1 JSON format template.** =====
1030 1030  
1031 -(% 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.**
1029 +All -CB nodes support downlink configuration modification using (% style="color:blue" %)**JSON format templates.**
1032 1032  
1031 +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.
1032 +Template.
1033 1033  
1034 +Take the template of DDS75-CB as an example:
1034 1034  
1035 -
1036 -**Template for Batch Configuration:**
1037 -
1038 -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.
1039 -Template:
1040 -
1041 1041  {
1042 1042  "AT+SERVADDR":"119.91.62.30,1882",
1043 1043  "AT+CLIENT":"JwcXKjQBNhQ2JykDDAA5Ahs",
... ... @@ -1050,17 +1050,22 @@
1050 1050  "AT+APN":"NULL",
1051 1051  "AT+5VT":"0",
1052 1052  "AT+PRO":"3,5",
1053 -"AT+TR":"900",
1054 -"AT+NOUD":"0",
1048 +"AT+TR":"15",
1049 +"AT+NOUD":"8",
1055 1055  "AT+CSQTIME":"5",
1056 -"AT+DNSTIMER":"0",
1051 +"AT+GDNS":"0",
1057 1057  "AT+TLSMOD":"0,0",
1058 1058  "AT+MQOS":"0",
1059 -"AT+TEMPALARM1":"0",
1060 -"AT+TEMPALARM2":"10",
1061 -"AT+TEMPALARM3":"0"
1054 +"AT+IPTYPE":"0",
1055 +"AT+GTDC":"0",
1056 +"AT+GNSST":"10",
1057 +"AT+GPS":"0"
1062 1062  }
1063 1063  
1060 +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.
1061 +
1062 +[[image:1751538862245-924.png]]
1063 +
1064 1064  **Instructions for Using the Template:**
1065 1065  
1066 1066  1. Modify the parameters for each AT command in the template as needed.
... ... @@ -1073,6 +1073,16 @@
1073 1073  
1074 1074  
1075 1075  
1076 +===== **2.2 Support sending json format commands separately** =====
1077 +
1078 +Some models of nodes support sending json format commands separately:(% style="color:blue" %)**RS485-CB, LDS25-CB, CS01-CB, SDI-12-CB, SW3L-CB, WL03A-CB, PS-CB**
1079 +
1080 +//Example~:// For the PS-CB's uplink interval modification (AT+TDC=900):
1081 +
1082 +Downlink command:  (% style="color:blue" %)**{AT+TDC=900}**(%%)**       **~/~/ The correct format is (% style="color:blue" %)**{AT Command}**(%%). No extra characters other than valid AT commands can be added within {}.
1083 +
1084 +
1085 +
1076 1076  == 7.4 What if the signal is good but the domain name resolution fails? ==
1077 1077  
1078 1078  
1751538862245-924.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +114.7 KB
Content