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

Summary

Details

Page properties
Content
... ... @@ -143,9 +143,7 @@
143 143  
144 144  
145 145  
146 -1.
147 -11.
148 -111. Insert SIM card
146 +=== 2.2.2 Insert SIM card ===
149 149  
150 150  Insert the NB-IoT Card get from your provider.
151 151  
... ... @@ -156,12 +156,10 @@
156 156  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image004.gif]]
157 157  
158 158  
159 -1.
160 -11.
161 -111. Connect USB – TTL to NSE01 to configure it
157 +=== 2.2.3 Connect USB – TTL to NSE01 to configure it ===
162 162  
163 163  
164 -User need to configure NSE01 via serial port to set the **Server Address** / **Uplink Topic** to define where and how-to uplink packets. NSE01 support AT Commands, user can use a USB to TTL adapter to connect to NSE01 and use AT Commands to configure it, as below.
160 +User need to configure NSE01 via serial port to set the **(% style="color:blue" %)Server Address** / **Uplink Topic** (%%)to define where and how-to uplink packets. NSE01 support AT Commands, user can use a USB to TTL adapter to connect to NSE01 and use AT Commands to configure it, as below.
165 165  
166 166  
167 167  
... ... @@ -168,24 +168,24 @@
168 168  
169 169  Connection:
170 170  
171 -USB TTL GND <~-~-~-~-> GND
167 + (% style="background-color:yellow" %)USB TTL GND <~-~-~-~-> GND
172 172  
173 -USB TTL TXD <~-~-~-~-> UART_RXD
169 + (% style="background-color:yellow" %)USB TTL TXD <~-~-~-~-> UART_RXD
174 174  
175 -USB TTL RXD <~-~-~-~-> UART_TXD
171 + (% style="background-color:yellow" %)USB TTL RXD <~-~-~-~-> UART_TXD
176 176  
177 177  
178 178  
179 179  In the PC, use below serial tool settings:
180 180  
181 -* Baud: **9600**
182 -* Data bits:** 8**
183 -* Stop bits: **1**
184 -* Parity: **None**
185 -* Flow Control: **None**
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**
186 186  
187 187  
188 -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.
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.
189 189  
190 190  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image009.jpg]]
191 191  
... ... @@ -194,21 +194,20 @@
194 194  [[http:~~/~~/www.dragino.com/downloads/index.php?dir=NB-IoT/NSE01/>>url:http://www.dragino.com/downloads/index.php?dir=NB-IoT/NBSN50/]]
195 195  
196 196  
197 -1.
198 -11.
199 -111. Use CoAP protocol to uplink data 
200 200  
194 +=== 2.2.4 Use CoAP protocol to uplink data === 
201 201  
202 -Note: if you don’t have CoAP server, you can refer this link to set up one:
203 203  
197 +(% style="background-color:red" %)Note: if you don’t have CoAP server, you can refer this link to set up one:
198 +
204 204  [[http:~~/~~/wiki.dragino.com/index.php?title=Set_up_CoAP_Server>>url:http://wiki.dragino.com/index.php?title=Set_up_CoAP_Server]]
205 205  
206 206  
207 207  Use below commands:
208 208  
209 -* **AT+PRO=1**    ~/~/ Set to use CoAP protocol to uplink
210 -* **AT+SERVADDR=120.24.4.116,5683   **~/~/ to set CoAP server address and port
211 -* **AT+URI=5,11,"mqtt",11,"coap",12,"0",15,"c=text1",23,"0"       **~/~/Set COAP resource path
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
212 212  
213 213  
214 214  For parameter description, please refer to AT command set
... ... @@ -216,21 +216,20 @@
216 216  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image011.jpg]]
217 217  
218 218  
219 -After configure the server address and **reset the device** (via AT+ATZ ), NSE01 will start to uplink sensor values to CoAP server.
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.
220 220  
221 221  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image013.jpg]]
222 222  
223 -1.
224 -11.
225 -111. Use UDP protocol to uplink data(Default protocol)
226 226  
219 +=== 2.2.5 Use UDP protocol to uplink data(Default protocol) ===
227 227  
221 +
228 228  This feature is supported since firmware version v1.0.1
229 229  
230 230  
231 -* **AT+PRO=2   ** ~/~/ Set to use UDP protocol to uplink
232 -* **AT+SERVADDR=120.24.4.116,5601   **~/~/ to set UDP server address and port
233 -* **AT+CFM=1       **~/~/If the server does not respond, this command is unnecessary
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
234 234  
235 235  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image015.jpg]]
236 236  
... ... @@ -241,21 +241,19 @@
241 241  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image017.jpg]]
242 242  
243 243  
244 -1.
245 -11.
246 -111. Use MQTT protocol to uplink data
238 +=== 2.2.6 Use MQTT protocol to uplink data ===
247 247  
248 248  
249 249  This feature is supported since firmware version v110
250 250  
251 251  
252 -* **AT+PRO=3   ** ~/~/Set to use MQTT protocol to uplink
253 -* **AT+SERVADDR=120.24.4.116,1883   **~/~/Set MQTT server address and port
254 -* **AT+CLIENT=CLIENT **~/~/Set up the CLIENT of MQTT
255 -* **AT+UNAME=UNAME                           **~/~/Set the username of MQTT
256 -* **AT+PWD=PWD                                      **~/~/Set the password of MQTT
257 -* **AT+PUBTOPIC=NSE01_PUB   **~/~/Set the sending topic of MQTT
258 -* **AT+SUBTOPIC=NSE01_SUB    **~/~/Set the subscription topic of MQTT
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
259 259  
260 260  
261 261  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image019.gif]]
... ... @@ -266,16 +266,14 @@
266 266  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.
267 267  
268 268  
269 -1.
270 -11.
271 -111. Use TCP protocol to uplink data
261 +=== 2.2.7 Use TCP protocol to uplink data ===
272 272  
273 273  
274 274  This feature is supported since firmware version v110
275 275  
276 276  
277 -* **AT+PRO=4   ** ~/~/ Set to use TCP protocol to uplink
278 -* **AT+SERVADDR=120.24.4.116,5600   **~/~/ to set TCP server address and port
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
279 279  
280 280  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image023.jpg]]
281 281  
... ... @@ -284,18 +284,16 @@
284 284  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image025.jpg]]
285 285  
286 286  
287 -1.
288 -11.
289 -111. Change Update Interval
277 +=== 2.2.8 Change Update Interval ===
290 290  
291 -User can use below command to change the **uplink interval**.
279 +User can use below command to change the **(% style="color:green" %)uplink interval**.
292 292  
293 -**~ AT+TDC=600      **~/~/ Set Update Interval to 600s
281 +**~ (% style="color:blue" %)AT+TDC=600      ** (%%)~/~/ Set Update Interval to 600s
294 294  
295 295  
296 -**NOTE:**
284 +**(% style="color:red" %)NOTE:**
297 297  
298 -1. By default, the device will send an uplink message every 1 hour.
286 +(% style="color:red" %)1. By default, the device will send an uplink message every 1 hour.
299 299  
300 300  
301 301  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0