<
From version < 45.7 >
edited by Xiaoling
on 2022/07/08 11:03
To version < 45.5 >
edited by Xiaoling
on 2022/07/08 10:39
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -164,24 +164,24 @@
164 164  
165 165  Connection:
166 166  
167 - (% style="background-color:yellow" %)USB TTL GND <~-~-~-~-> GND
167 +USB TTL GND <~-~-~-~-> GND
168 168  
169 - (% style="background-color:yellow" %)USB TTL TXD <~-~-~-~-> UART_RXD
169 +USB TTL TXD <~-~-~-~-> UART_RXD
170 170  
171 - (% style="background-color:yellow" %)USB TTL RXD <~-~-~-~-> UART_TXD
171 +USB TTL RXD <~-~-~-~-> UART_TXD
172 172  
173 173  
174 174  
175 175  In the PC, use below serial tool settings:
176 176  
177 -* Baud: ** (% style="background-color:green" %)9600**(%%)
178 -* Data bits:** (% style="background-color:green" %)8**(%%)
179 -* Stop bits: **(% style="background-color:green" %)1**(%%)
180 -* Parity: **(% style="background-color:green" %)None**(%%)
181 -* Flow Control: **(% style="background-color:green" %)None**
177 +* Baud: **9600**
178 +* Data bits:** 8**
179 +* Stop bits: **1**
180 +* Parity: **None**
181 +* Flow Control: **None**
182 182  
183 183  
184 -Make sure the switch is in FLASH position, then power on device by connecting the jumper on NSE01. NSE01 will output system info once power on as below, we can enter the **(% style="background-color:green" %)password: 12345678**(%%) to access AT Command input.
184 +Make sure the switch is in FLASH position, then power on device by connecting the jumper on NSE01. NSE01 will output system info once power on as below, we can enter the **password: 12345678** to access AT Command input.
185 185  
186 186  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image009.jpg]]
187 187  
... ... @@ -190,20 +190,21 @@
190 190  [[http:~~/~~/www.dragino.com/downloads/index.php?dir=NB-IoT/NSE01/>>url:http://www.dragino.com/downloads/index.php?dir=NB-IoT/NBSN50/]]
191 191  
192 192  
193 +1.
194 +11.
195 +111. Use CoAP protocol to uplink data 
193 193  
194 -=== 2.2.4 Use CoAP protocol to uplink data === 
195 195  
198 +Note: if you don’t have CoAP server, you can refer this link to set up one:
196 196  
197 -(% style="background-color:red" %)Note: if you don’t have CoAP server, you can refer this link to set up one:
198 -
199 199  [[http:~~/~~/wiki.dragino.com/index.php?title=Set_up_CoAP_Server>>url:http://wiki.dragino.com/index.php?title=Set_up_CoAP_Server]]
200 200  
201 201  
202 202  Use below commands:
203 203  
204 -* **(% style="color:blue" %)AT+PRO=1**  (%%)  ~/~/ Set to use CoAP protocol to uplink
205 -* **(% style="color:blue" %)AT+SERVADDR=120.24.4.116,5683   ** (%%)~/~/ to set CoAP server address and port
206 -* **(% style="color:blue" %)AT+URI=5,11,"mqtt",11,"coap",12,"0",15,"c=text1",23,"0" ** (%%)      ~/~/Set COAP resource path
205 +* **AT+PRO=1**    ~/~/ Set to use CoAP protocol to uplink
206 +* **AT+SERVADDR=120.24.4.116,5683   **~/~/ to set CoAP server address and port
207 +* **AT+URI=5,11,"mqtt",11,"coap",12,"0",15,"c=text1",23,"0"       **~/~/Set COAP resource path
207 207  
208 208  
209 209  For parameter description, please refer to AT command set
... ... @@ -211,20 +211,21 @@
211 211  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image011.jpg]]
212 212  
213 213  
214 -After configure the server address and **(% style="color:green" %)reset the device**(%%) (via AT+ATZ ), NSE01 will start to uplink sensor values to CoAP server.
215 +After configure the server address and **reset the device** (via AT+ATZ ), NSE01 will start to uplink sensor values to CoAP server.
215 215  
216 216  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image013.jpg]]
217 217  
219 +1.
220 +11.
221 +111. Use UDP protocol to uplink data(Default protocol)
218 218  
219 -=== 2.2.5 Use UDP protocol to uplink data(Default protocol) ===
220 220  
221 -
222 222  This feature is supported since firmware version v1.0.1
223 223  
224 224  
225 -* **(% style="color:blue" %)AT+PRO=2   ** (%%) ~/~/ Set to use UDP protocol to uplink
226 -* **(% style="color:blue" %)AT+SERVADDR=120.24.4.116,5601   ** (%%) ~/~/ to set UDP server address and port
227 -* **(% style="color:blue" %)AT+CFM=1       ** (%%) ~/~/If the server does not respond, this command is unnecessary
227 +* **AT+PRO=2   ** ~/~/ Set to use UDP protocol to uplink
228 +* **AT+SERVADDR=120.24.4.116,5601   **~/~/ to set UDP server address and port
229 +* **AT+CFM=1       **~/~/If the server does not respond, this command is unnecessary
228 228  
229 229  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image015.jpg]]
230 230  
... ... @@ -235,19 +235,21 @@
235 235  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image017.jpg]]
236 236  
237 237  
238 -=== 2.2.6 Use MQTT protocol to uplink data ===
240 +1.
241 +11.
242 +111. Use MQTT protocol to uplink data
239 239  
240 240  
241 241  This feature is supported since firmware version v110
242 242  
243 243  
244 -* **(% style="color:blue" %)AT+PRO=3   ** (%%) ~/~/Set to use MQTT protocol to uplink
245 -* **(% style="color:blue" %)AT+SERVADDR=120.24.4.116,1883   ** (%%) ~/~/Set MQTT server address and port
246 -* **(% style="color:blue" %)AT+CLIENT=CLIENT ** (%%)~/~/Set up the CLIENT of MQTT
247 -* **(% style="color:blue" %)AT+UNAME=UNAME            **(%%)~/~/Set the username of MQTT
248 -* **(% style="color:blue" %)AT+PWD=PWD                  **(%%)~/~/Set the password of MQTT
249 -* **(% style="color:blue" %)AT+PUBTOPIC=NSE01_PUB   **(%%)~/~/Set the sending topic of MQTT
250 -* **(% style="color:blue" %)AT+SUBTOPIC=NSE01_SUB    **(%%) ~/~/Set the subscription topic of MQTT
248 +* **AT+PRO=3   ** ~/~/Set to use MQTT protocol to uplink
249 +* **AT+SERVADDR=120.24.4.116,1883   **~/~/Set MQTT server address and port
250 +* **AT+CLIENT=CLIENT **~/~/Set up the CLIENT of MQTT
251 +* **AT+UNAME=UNAME                           **~/~/Set the username of MQTT
252 +* **AT+PWD=PWD                                      **~/~/Set the password of MQTT
253 +* **AT+PUBTOPIC=NSE01_PUB   **~/~/Set the sending topic of MQTT
254 +* **AT+SUBTOPIC=NSE01_SUB    **~/~/Set the subscription topic of MQTT
251 251  
252 252  
253 253  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image019.gif]]
... ... @@ -258,14 +258,16 @@
258 258  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.
259 259  
260 260  
261 -=== 2.2.7 Use TCP protocol to uplink data ===
265 +1.
266 +11.
267 +111. Use TCP protocol to uplink data
262 262  
263 263  
264 264  This feature is supported since firmware version v110
265 265  
266 266  
267 -* **(% style="color:blue" %)AT+PRO=4   ** (%%) ~/~/ Set to use TCP protocol to uplink
268 -* **(% style="color:blue" %)AT+SERVADDR=120.24.4.116,5600   **(%%) ~/~/ to set TCP server address and port
273 +* **AT+PRO=4   ** ~/~/ Set to use TCP protocol to uplink
274 +* **AT+SERVADDR=120.24.4.116,5600   **~/~/ to set TCP server address and port
269 269  
270 270  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image023.jpg]]
271 271  
... ... @@ -274,16 +274,18 @@
274 274  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image025.jpg]]
275 275  
276 276  
277 -=== 2.2.8 Change Update Interval ===
283 +1.
284 +11.
285 +111. Change Update Interval
278 278  
279 -User can use below command to change the **(% style="color:green" %)uplink interval**.
287 +User can use below command to change the **uplink interval**.
280 280  
281 -**~ (% style="color:blue" %)AT+TDC=600      ** (%%)~/~/ Set Update Interval to 600s
289 +**~ AT+TDC=600      **~/~/ Set Update Interval to 600s
282 282  
283 283  
284 -**(% style="color:red" %)NOTE:**
292 +**NOTE:**
285 285  
286 -(% style="color:red" %)1. By default, the device will send an uplink message every 1 hour.
294 +1. By default, the device will send an uplink message every 1 hour.
287 287  
288 288  
289 289  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0