Last modified by Mengting Qiu on 2025/07/03 18:55
From version 105.2
edited by Xiaoling
on 2023/11/06 16:16
on 2023/11/06 16:16
Change comment:
There is no comment for this version
To version 109.1
edited by Edwin Chen
on 2024/01/25 09:03
on 2024/01/25 09:03
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.Edwin - Content
-
... ... @@ -41,20 +41,21 @@ 41 41 |(% style="width:117px" %)China Mobile|(% style="width:151px" %)No need configure|(% style="width:474px" %)China Mainland, HongKong|(% style="width:135px" %) 42 42 |(% style="width:117px" %)China Telecom|(% style="width:151px" %)ctnb|(% style="width:474px" %)China Mainland|(% style="width:135px" %) 43 43 44 - 45 - 46 46 == 2.2 Speed Up Network Attach time == 47 47 48 48 49 49 BC660K-GL supports multi bands (% style="color:blue" %)**B1/B2/B3/B4/B5/B8/B12/B13/B14/B17/B18/B19/B20/B25/B28/B66/B70/B85. **(%%) It will search one by one and try to attach, this will take a lot of time and even cause attach fail. User can lock the band to specify band for its operator to make this faster. 50 50 51 -(% style="color:#037691" %)**AT+QBAND? ** 49 +(% style="color:#037691" %)**AT+QBAND? **(%%) ~/~/ Check what is the current used frequency band 52 52 53 -(% style="color:#037691" %)**AT+QBAND=1,4 ** 51 +(% style="color:#037691" %)**AT+QBAND=1,4 **(%%) ~/~/ Set to use 1 frequency band. Band4 54 54 55 -(% style="color:#037691" %)**AT+QBAND=2,8,20** 53 +(% style="color:#037691" %)**AT+QBAND=2,8,20 **(%%) ~/~/ Set to use 2 frequency bands. Band 8 and Band 20 56 56 57 57 56 +After connection is successful, user can use (% style="color:#037691" %)**AT+QENG=0 **(%%) to check which band is actually in used. 57 + 58 + 58 58 See bands used for different provider:** [[NB-IoT Deployment , Bands, Operator list>>http://wiki.dragino.com/xwiki/bin/view/Main/NB-IoT%20Deployment%20%2C%20Bands%2C%20Operator%20list/]]** 59 59 60 60 ... ... @@ -157,8 +157,6 @@ 157 157 158 158 * (% style="color:#037691" %)**Password:**(%%) <Your ThingSpeak MQTT Password> 159 159 160 - 161 - 162 162 ==== 3.3.2.2 Publish Data to ThingSpeak Channel ==== 163 163 164 164 ... ... @@ -200,8 +200,6 @@ 200 200 201 201 * (% style="color:blue" %)**AT+SUBTOPIC=<YOUR_CHANNEL_ID>** 202 202 203 - 204 - 205 205 ==== 3.3.3.2 Uplink Examples ==== 206 206 207 207 ... ... @@ -263,8 +263,6 @@ 263 263 |(% colspan="1" style="background-color:#4f81bd; color:white; width:143px" %)SN50V3-NB mod5|(% colspan="1" style="width:103px" %)mod|(% colspan="1" style="width:102px" %)Battery|(% colspan="1" style="width:157px" %)RSSI|(% colspan="1" style="width:154px" %)DS18B20 Temp|(% colspan="1" style="width:153px" %)adc0|(% colspan="1" style="width:151px" %)exit_state/input PA4|(% colspan="1" style="width:160px" %)Weight|(% colspan="1" style="width:152px" %) |(% colspan="1" style="width:67px" %) |(% colspan="1" style="width:69px" %) 264 264 |(% colspan="1" style="background-color:#4f81bd; color:white; width:143px" %)SN50V3-NB mod6|(% colspan="1" style="width:103px" %)mod|(% colspan="1" style="width:102px" %)Battery|(% colspan="1" style="width:157px" %)RSSI|(% colspan="1" style="width:154px" %)count|(% colspan="1" style="width:153px" %) |(% colspan="1" style="width:151px" %) |(% colspan="1" style="width:160px" %) |(% colspan="1" style="width:152px" %) |(% colspan="1" style="width:67px" %) |(% colspan="1" style="width:69px" %) 265 265 266 - 267 - 268 268 == 3.4 [[Datacake>>https://datacake.co/]] == 269 269 270 270 ... ... @@ -279,11 +279,10 @@ 279 279 280 280 * (% style="color:blue" %)**S31B-NB-GE**(%%): This verson doesn't have pre-configure Datacake connection. User need to enter the AT Commands to connect to Datacake. See below for instruction. 281 281 277 +=== 3.4.1 For device Already has template === 282 282 279 +==== 3.4.1.1 Create Device ==== 283 283 284 -=== 3.4.1 Create device === 285 - 286 - 287 287 (% style="color:blue" %)**Add Device**(%%) in DataCake. 288 288 289 289 [[image:image-20230808162301-1.png||height="453" width="952"]] ... ... @@ -306,8 +306,9 @@ 306 306 [[image:image-20230808163049-6.png||height="544" width="926"]] 307 307 308 308 309 -=== 3.4.2 ScanQRcodetoobtaindata ===303 +=== 3.4.2 For Device already registered in DataCake before shipped === 310 310 305 +**Scan QR Code to get the device info.** 311 311 312 312 Users can use their phones or computers to scan QR codes to obtain device data information. 313 313 ... ... @@ -316,9 +316,14 @@ 316 316 [[image:image-20230808170548-9.png]] 317 317 318 318 319 -=== 3.4. 2AT commandforconnectingtoDataCake ===314 +=== 3.4.3 Manual Add Decoder in DataCake ( don't use the template in DataCake) === 320 320 321 321 317 +=== 3.4.4 For device have not configured to connect to DataCake === 318 + 319 +(% class="lead" %) 320 +Use AT command for connecting to DataCake 321 + 322 322 (% style="color:blue" %)**AT+PRO=2,0** 323 323 324 324 (% style="color:blue" %)**AT+SERVADDR=67.207.76.90,4445** ... ... @@ -377,12 +377,13 @@ 377 377 === 3.5.3 Configure NB-IoT Sensors === 378 378 379 379 380 -* (% style="color:blue" %)**AT+PRO=2,0(hex format) or 2,1(json format) **(%%)** **~/~/ Set to UDP Server and Payload 380 +* (% style="color:#037691" %)**AT+PRO=3,0 or 3,5 ** (%%) **~/~/ hex format or json format** 381 +* (% style="color:#037691" %)**AT+SUBTOPIC=<device name>or User Defined** 382 +* (% style="color:#037691" %)**AT+PUBTOPIC=<device name>or User Defined** 383 +* (% style="color:#037691" %)**AT+CLIENT=<device name> or User Defined** 384 +* (% style="color:#037691" %)**AT+UNAME=<device name> or User Defined** 385 +* (% style="color:#037691" %)**AT+PWD=“Your device token”** 381 381 382 -* (% style="color:blue" %)**AT+SERVADDR=xx.xx.xx.xx,port **(%%)** **~/~/ Set Server IP and port 383 - 384 - 385 - 386 386 == 3.6 ThingsBoard.Cloud (via MQTT) == 387 387 388 388 === 3.6.1 Configure ThingsBoard === ... ... @@ -433,7 +433,7 @@ 433 433 434 434 (% style="color:blue" %)**Add a topic filter:** 435 435 436 - tb/mqtt-integration-tutorial/sensors~/~/temperature~-~-> Temperature **固定的? 对的。**437 +Consistent with the theme of the node setting. 437 437 438 438 You can also select an MQTT QoS level. We use MQTT QoS level 0 (At most once) by default; 439 439 ... ... @@ -527,8 +527,6 @@ 527 527 528 528 * (% style="color:#037691" %)**AT+PWD=“Your device token”** 529 529 530 - 531 - 532 532 === 3.7.2 Simulate with MQTT.fx === 533 533 534 534 ... ... @@ -564,8 +564,6 @@ 564 564 565 565 * (% style="color:#037691" %)**AT+SERVADDR=120.24.4.116,5600 ** (%%) ~/~/ to set TCP server address and port 566 566 567 - 568 - 569 569 (% style="color:blue" %)**Sensor Console Output when Uplink:** 570 570 571 571 [[image:image-20230807233631-1.png]] ... ... @@ -574,4 +574,3 @@ 574 574 (% style="color:blue" %)**See result in TCP Server:** 575 575 576 576 [[image:image-20230807233631-2.png]] 577 -