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,11 +202,13 @@ 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 209 209 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 + 210 210 [[image:image-20220907153643-9.png||height="401" width="734"]] 211 211 212 212 ... ... @@ -213,24 +213,28 @@ 213 213 [[image:image-20220907153703-10.png||height="309" width="738"]] 214 214 215 215 218 + 216 216 === 2.2.6 Use MQTT protocol to uplink data === 217 217 221 + 218 218 This feature is supported since firmware version v110 219 219 220 -* **(% style="color:blue" %)AT+PRO=3 ** (%%) ~/~/Set to use MQTT protocol to uplink221 -* **(% style="color:blue" %)AT+SERVADDR=120.24.4.116,1883 ** (%%) ~/~/Set MQTT server address and port222 -* **(% style="color:blue" %)AT+CLIENT=CLIENT ** (%%) ~/~/Set up the CLIENT of MQTT223 -* **(% style="color:blue" %)AT+UNAME=UNAME **224 -* **(% style="color:blue" %)AT+PWD=PWD **225 -* **(% style="color:blue" %)AT+PUBTOPIC=NSE01_PUB **(%%)226 -* **(% style="color:blue" %)AT+SUBTOPIC=NSE01_SUB ** (%%) ~/~/Set the subscription topic of MQTT224 +* (% style="color:blue" %)**AT+PRO=3 ** (%%) ~/~/ Set to use MQTT protocol to uplink 225 +* (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,1883 ** (%%) ~/~/ Set MQTT server address and port 226 +* (% style="color:blue" %)**AT+CLIENT=CLIENT ** (%%) ~/~/ Set up the CLIENT of MQTT 227 +* (% style="color:blue" %)**AT+UNAME=UNAME **(%%)~/~/ Set the username of MQTT 228 +* (% style="color:blue" %)**AT+PWD=PWD **(%%)~/~/ Set the password of MQTT 229 +* (% style="color:blue" %)**AT+PUBTOPIC=NSE01_PUB **(%%)~/~/ Set the sending topic of MQTT 230 +* (% style="color:blue" %)**AT+SUBTOPIC=NSE01_SUB ** (%%) ~/~/ Set the subscription topic of MQTT 227 227 228 228 233 + 229 229 [[image:image-20220907153739-11.png||height="491" width="764"]] 230 230 231 231 232 232 [[image:image-20220907153751-12.png||height="555" width="769"]] 233 233 239 + 234 234 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. 235 235 236 236 ... ... @@ -238,12 +238,14 @@ 238 238 239 239 === 2.2.7 Use TCP protocol to uplink data === 240 240 247 + 241 241 This feature is supported since firmware version v110 242 242 243 -* **(% style="color:blue" %)AT+PRO=4 ** (%%) ~/~/ Set to use TCP protocol to uplink244 -* **(% style="color:blue" %)AT+SERVADDR=120.24.4.116,5600 ** (%%) ~/~/ to set TCP server address and port250 +* (% style="color:blue" %)**AT+PRO=4 ** (%%) ~/~/ Set to use TCP protocol to uplink 251 +* (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5600 ** (%%) ~/~/ to set TCP server address and port 245 245 246 246 254 + 247 247 [[image:image-20220907153818-13.png||height="486" width="668"]] 248 248 249 249 ... ... @@ -256,9 +256,9 @@ 256 256 257 257 Users can use the below command to change the **uplink interval**. 258 258 259 -* **(% style="color:blue" %)AT+TDC=7200 ** (%%) ~/~/ Set Update Interval to 7200s (2 hour)267 +* (% style="color:blue" %)**AT+TDC=7200 ** (%%) ~/~/ Set Update Interval to 7200s (2 hour) 260 260 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).**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).** 262 262 263 263 264 264 == 2.3 Uplink Payload == ... ... @@ -298,7 +298,7 @@ 298 298 299 299 By default, the Device ID equal to the last 15 bits of IMEI. 300 300 301 -User can use **(% style="color:blue" %)AT+DEUI** (%%)to set Device ID309 +User can use (% style="color:blue" %)**AT+DEUI** (%%)to set Device ID 302 302 303 303 **Example:** 304 304