Changes for page NSPH01-NB-IoT Soil pH Sensor User Manual
Last modified by Bei Jinggeng on 2024/03/30 17:53
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -202,13 +202,11 @@ 202 202 203 203 204 204 This feature is supported since firmware version v1.0.1 205 +(%%) 206 +* **(% style="color:blue" %)AT+PRO=2 ** ~/~/ Set to use UDP protocol to uplink 207 +* **(% style="color:blue" %)AT+SERVADDR=120.24.4.116,5601 ** (%%) ~/~/ to set UDP server address and port 208 +* **(% style="color:blue" %)AT+CFM=1 ** (%%) ~/~/ If the server does not respond, this command is unnecessar 205 205 206 -* (% style="color:blue" %)**AT+PRO=2 ** (%%) ~/~/ Set to use UDP protocol to uplink 207 -* (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5601 ** (%%) ~/~/ to set UDP server address and port 208 -* (% style="color:blue" %)**AT+CFM=1 ** (%%) ~/~/ If the server does not respond, this command is unnecessar 209 - 210 - 211 - 212 212 [[image:image-20220907153643-9.png||height="401" width="734"]] 213 213 214 214 ... ... @@ -215,28 +215,24 @@ 215 215 [[image:image-20220907153703-10.png||height="309" width="738"]] 216 216 217 217 218 - 219 219 === 2.2.6 Use MQTT protocol to uplink data === 220 220 221 - 222 222 This feature is supported since firmware version v110 223 223 224 -* (% style="color:blue" %) **AT+PRO=3 ** (%%) ~/~/225 -* (% style="color:blue" %) **AT+SERVADDR=120.24.4.116,1883 ** (%%) ~/~/226 -* (% style="color:blue" %) **AT+CLIENT=CLIENT ** (%%) ~/~/227 -* (% style="color:blue" %) **AT+UNAME=UNAME **(%%)~/~/228 -* (% style="color:blue" %) **AT+PWD=PWD **(%%)~/~/229 -* (% style="color:blue" %) **AT+PUBTOPIC=NSE01_PUB **(%%)~/~/230 -* (% style="color:blue" %) **AT+SUBTOPIC=NSE01_SUB ** (%%) ~/~/220 +* **(% style="color:blue" %)AT+PRO=3 ** (%%) ~/~/Set to use MQTT protocol to uplink 221 +* **(% style="color:blue" %)AT+SERVADDR=120.24.4.116,1883 ** (%%) ~/~/Set MQTT server address and port 222 +* **(% style="color:blue" %)AT+CLIENT=CLIENT ** (%%) ~/~/Set up the CLIENT of MQTT 223 +* **(% style="color:blue" %)AT+UNAME=UNAME ** (%%)~/~/Set the username of MQTT 224 +* **(% style="color:blue" %)AT+PWD=PWD ** (%%)~/~/Set the password of MQTT 225 +* **(% style="color:blue" %)AT+PUBTOPIC=NSE01_PUB **(%%) ~/~/Set the sending topic of MQTT 226 +* **(% style="color:blue" %)AT+SUBTOPIC=NSE01_SUB ** (%%) ~/~/Set the subscription topic of MQTT 231 231 232 232 233 - 234 234 [[image:image-20220907153739-11.png||height="491" width="764"]] 235 235 236 236 237 237 [[image:image-20220907153751-12.png||height="555" width="769"]] 238 238 239 - 240 240 MQTT protocol has a much higher power consumption compare vs UDP / CoAP protocol. Please check the power analyze document and adjust the uplink period to a suitable interval. 241 241 242 242 ... ... @@ -244,14 +244,12 @@ 244 244 245 245 === 2.2.7 Use TCP protocol to uplink data === 246 246 247 - 248 248 This feature is supported since firmware version v110 249 249 250 -* (% style="color:blue" %) **AT+PRO=4 ** (%%) ~/~/ Set to use TCP protocol to uplink251 -* (% style="color:blue" %) **AT+SERVADDR=120.24.4.116,5600 ** (%%) ~/~/ to set TCP server address and port243 +* **(% style="color:blue" %)AT+PRO=4 ** (%%) ~/~/ Set to use TCP protocol to uplink 244 +* **(% style="color:blue" %)AT+SERVADDR=120.24.4.116,5600 ** (%%) ~/~/ to set TCP server address and port 252 252 253 253 254 - 255 255 [[image:image-20220907153818-13.png||height="486" width="668"]] 256 256 257 257 ... ... @@ -264,9 +264,9 @@ 264 264 265 265 Users can use the below command to change the **uplink interval**. 266 266 267 -* (% style="color:blue" %) **AT+TDC=7200 ** (%%) ~/~/ Set Update Interval to 7200s (2 hour)259 +* **(% style="color:blue" %)AT+TDC=7200 ** (%%) ~/~/ Set Update Interval to 7200s (2 hour) 268 268 269 -(% style="color:red" %) **NOTE: By default, the device will send an uplink message every 2 hours. Each Uplink Include 8 set of records in this 2 hour (15 minute interval / record).**261 +**(% style="color:red" %)NOTE: By default, the device will send an uplink message every 2 hours. Each Uplink Include 8 set of records in this 2 hour (15 minute interval / record).** 270 270 271 271 272 272 == 2.3 Uplink Payload == ... ... @@ -306,7 +306,7 @@ 306 306 307 307 By default, the Device ID equal to the last 15 bits of IMEI. 308 308 309 -User can use (% style="color:blue" %) **AT+DEUI** (%%)to set Device ID301 +User can use **(% style="color:blue" %)AT+DEUI** (%%)to set Device ID 310 310 311 311 **Example:** 312 312