Last modified by Mengting Qiu on 2025/03/08 11:33
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 2 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,5 +1,5 @@ 1 1 (% class="wikigeneratedid" %) 2 - ==**Table of Contents:**==2 +**Table of Contents:** 3 3 4 4 {{toc/}} 5 5 ... ... @@ -19,8 +19,6 @@ 19 19 1. Insert the SIM card to Sensor 20 20 1. [[Configure APN>>http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20configure%20APN%20in%20the%20node/]] in the sensor (% class="mark" %)(补充 APN 指令(%%)) 21 21 22 -(% class="mark" %)插入 SIM 卡图片 23 - 24 24 After doing above, the NB-IoT Sensors should be able to attach to NB-IoT network . 25 25 26 26 The -NB and -NS models support (% style="color:blue" %)**LTE Cat NB2**(%%), with below frequency band: multiple frequency bands of (% style="color:blue" %)**B1/B2/B3/B4/B5/B8/B12/B13/B14/B17/B18/B19/B20/B25/B28/B66/B70/B85**(%%) . Make sure you use a the NB-IoT SIM card. ... ... @@ -280,7 +280,7 @@ 280 280 ==== 3.6.1.1 Create Device ==== 281 281 282 282 283 -Create a New Device in [[ThingsBoard>>url:https://thingsboard.cloud/]]. Record Device Name which is used for MQTT connection.281 +Create a New Device in [[ThingsBoard>>url:https://thingsboard.cloud/]]. 284 284 285 285 [[image:image-20230802112413-32.png]] 286 286 ... ... @@ -343,14 +343,21 @@ 343 343 344 344 (% style="color:blue" %)**AT Commands** 345 345 346 -* (% style="color:#037691" %)**AT+PRO=3,3 **(%%)** **~/~/ Use MQTT to connect to ThingsBoard. Payload Type set to 3.344 +* (% style="color:#037691" %)**AT+PRO=3,3 **(%%)** **~/~/ Use MQTT to connect to ThingsBoard. 347 347 348 -* (% style="color:#037691" %)**AT+SUBTOPIC=<device name>** (%%) 349 -* (% style="color:#037691" %)**AT+PUBTOPIC=<device name>** 350 -* (% style="color:#037691" %)**AT+CLIENT=<device name> or User Defined** 351 -* (% style="color:#037691" %)**AT+UNAME=<device name> or User Defined** 352 -* (% style="color:#037691" %)**AT+PWD=<device name> or User Defined** 346 +* (% style="color:#037691" %)**AT+SUBTOPIC=device name** (%%) **~-~-> 只需要 Device Name 吗?对的** 353 353 348 +* (% style="color:#037691" %)**AT+PUBTOPIC=device name** (%%) **~-~-> 只需要 Device Name 吗?对的** 349 + 350 +Users do not need to fill in the client, username, and password. But the configuration information of the device requires setting the client, username, and password, which can be entered freely.** (软件自动填充为 Device Name 吧).这边不用提示了,客户不需要输入。(大部分客户还是会自己去设置这个的,提高安全性)** 351 + 352 +(% style="color:blue" %)**CLIENT :“Any value”** 353 + 354 +(% style="color:blue" %)**User Name:“Any value”** 355 + 356 +(% style="color:blue" %)**Password:“Any value”** 357 + 358 + 354 354 Test Uplink by click the button for 1 second 355 355 356 356 [[image:image-20230802112413-41.png]] ... ... @@ -415,7 +415,7 @@ 415 415 416 416 [[image:image-20230802112413-50.png]] 417 417 418 -[[image:image-20230802112413-51.png ||height="184" width="696"]]423 +[[image:image-20230802112413-51.png]] 419 419 420 420 421 421 === 3.7.4 TLS mode === ... ... @@ -446,22 +446,4 @@ 446 446 [[image:image-20230802112413-52.png]] 447 447 448 448 449 -= 3.8 TCP Connection = 450 - 451 - 452 -* **AT+PRO=4,0 ** ~/~/ Set to use TCP protocol to uplink(HEX format) 453 -* **AT+PRO=4,1 ** ~/~/ Set to use TCP protocol to uplink(JSON format) 454 -* **AT+SERVADDR=120.24.4.116,5600 **~/~/ to set TCP server address and port 455 - 456 -**Sensor Console Output when Uplink** 457 - 458 -[[image:image-20230807233631-1.png]] 459 - 460 - 461 -**See result in TCP Server** 462 - 463 -[[image:image-20230807233631-2.png]] 464 - 465 - 466 - 467 467
- image-20230807233631-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -21.9 KB - Content
- image-20230807233631-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -9.6 KB - Content