Changes for page Dragino NB device connection to AWS platform instructions
Last modified by Mengting Qiu on 2025/03/06 13:42
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. Bei1 +XWiki.Xiaoling - Content
-
... ... @@ -114,7 +114,7 @@ 114 114 115 115 = 4. Connect to AWS using Dragino-NB device = 116 116 117 -(% class="wikigeneratedid" data-sider-select-id="0bc6b974-b38c-48e7-b228-e220f1938e7f" %)117 +(% data-sider-select-id="0bc6b974-b38c-48e7-b228-e220f1938e7f" %) 118 118 == 4.1 F(% data-sider-select-id="293a2a9f-2191-4013-b0d9-8bcfb95a179a" %)or -NB /-NS model(%%) == 119 119 120 120 === (% data-sider-select-id="293a2a9f-2191-4013-b0d9-8bcfb95a179a" %)4.1.1 Upgrade the firmware to configure TTS firmware to set the certificate(%%) === ... ... @@ -134,7 +134,6 @@ 134 134 135 135 * Update through UART TTL interface : **[[Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART_Access_for_NB_ST_BC660K-GL/#H4.2UpdateFirmware28Assumethedevicealreadyhaveabootloader29]]**. 136 136 137 - 138 138 === (% data-sider-select-id="bb7de328-bb5d-4fe5-a008-7bf36bbf2d64" %)4.1.2 Configure certificate(%%) === 139 139 140 140 ... ... @@ -321,7 +321,7 @@ 321 321 Display(% style="color:blue" %)** "Successfully configured client private key."**(%%) If the configuration is successful, otherwise it is considered configuration failure. 322 322 323 323 324 -==== (% data-sider-select-id="9c62fd56-4ff5-48af-8cca-db4565d1f25d" %)4.1. 3.3Re-upgrade the firmware(%%) ====323 +==== (% data-sider-select-id="9c62fd56-4ff5-48af-8cca-db4565d1f25d" %)4.1.2.4 Re-upgrade the firmware(%%) ==== 325 325 326 326 327 327 After the certificate configuration is completed, Re-upgrade to the firmware you originally used. ... ... @@ -330,7 +330,8 @@ 330 330 (% data-sider-select-id="02f5aceb-0a5d-4922-8c3a-7e6772f46ad4" %) 331 331 == 4.2 For -CB /-CS model == 332 332 333 -=== (% data-sider-select-id="293a2a9f-2191-4013-b0d9-8bcfb95a179a" id="cke_bm_59113S" style="display:none" %) (% data-sider-select-id="293a2a9f-2191-4013-b0d9-8bcfb95a179a" %)4.2.1 Upgrade the firmware to configure TTS firmware to set the certificate(%%) === 332 +(% class="wikigeneratedid" data-sider-select-id="02f5aceb-0a5d-4922-8c3a-7e6772f46ad4" %) 333 +=== 4.2.1 Upgrade the firmware to configure TTS firmware to set the certificate === 334 334 335 335 336 336 User can change device firmware to:: ... ... @@ -348,16 +348,16 @@ 348 348 * Update through UART TTL interface : **[[Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART_Access_for_NB_ST_BC660K-GL/#H4.2UpdateFirmware28Assumethedevicealreadyhaveabootloader29]]**. 349 349 350 350 351 -=== (% data-sider-select-id="bb7de328-bb5d-4fe5-a008-7bf36bbf2d64" %)4.2.2 Configure certificate(%%) === 352 352 352 +=== 4.2.2 Configure certificate === 353 353 354 + 354 354 After upgrade the firmware, the serial port displays as follows: 355 355 356 -(% data-sider-select-id="8b6a9e23-dec0-476c-acd4-098aa19fe1f3" %) 357 357 [[image:image-20240528174330-13.png||height="286" width="568"]] 358 358 359 359 360 -==== (% data-sider-select-id="4f272daa-a217-4469-8de7-f4905835bbad" %)4.2.2.1(%%)====360 +==== 4.2.2.1 Configure CA certificate ==== 361 361 362 362 363 363 Please input the certificate in PEM format for the user. ... ... @@ -416,7 +416,7 @@ 416 416 Display (% style="color:blue" %)**"Successfully configured CA certificate."**(%%) If the configuration is successful, otherwise it is considered configuration failure. 417 417 418 418 419 -==== (% data-sider-select-id="0b9009b4-385e-4e1e-91d4-0175c1af339d" %)4.2.2.2 Configure client certificate(%%)====419 +==== 4.2.2.2 Configure client certificate ==== 420 420 421 421 422 422 Use the AT command AT+CLICERT as follows: ... ... @@ -468,7 +468,7 @@ 468 468 Display (% style="color:blue" %)**"Successfully configured client certificate."**(%%) Configuration successful, otherwise configuration failed. 469 469 470 470 471 -==== (% data-sider-select-id="7c5a8abc-e707-467b-ac02-db0a89098320" %)4.2.2.3 Configure client private key(%%)====471 +==== 4.2.2.3 Configure client private key ==== 472 472 473 473 474 474 Use the AT command AT+CLIKEY, as shown below ... ... @@ -534,26 +534,20 @@ 534 534 Display(% style="color:blue" %)** "Successfully configured client private key."**(%%) If the configuration is successful, otherwise it is considered configuration failure. 535 535 536 536 537 -==== (% data-sider-select-id="7c5a8abc-e707-467b-ac02-db0a89098320" %)4.2.2.4(%%)For -CB /-CS model(%data-sider-select-id="7c5a8abc-e707-467b-ac02-db0a89098320" %)Certificate setting error/change certificate(%%)====537 +==== 4.2.2.4 For -CB /-CS model Certificate setting error/change certificate ==== 538 538 539 + 539 539 (% data-sider-select-id="7c5a8abc-e707-467b-ac02-db0a89098320" %)When you set the wrong certificate or you need to re-set another certificate. 540 540 Please use the following three commands: 541 541 542 -(% data-sider-select-id="fbe1c153-2a79-4b56-b8ef-0afb2ae3dfc1" %)543 +(% style="color:blue" %)**AT+DELCLIKEY}** 543 543 544 -AT+DELCLI KEY}545 +(% style="color:blue" %)**AT+DELCLICERT}** 545 545 546 -(% data-sider-select-id="39d0e453-8af0-4093-8619-270f431f12c4" %) 547 - 548 -AT+DELCLICERT} 549 - 550 -(% data-sider-select-id="51d2a3c0-6e7d-462f-9561-8b464ccdafac" %) 551 - 552 -AT+DELCACERT} 547 +(% style="color:blue" %)**AT+DELCACERT}** 553 553 554 554 555 -(% data-sider-select-id="51d2a3c0-6e7d-462f-9561-8b464ccdafac" %) 556 -(% data-sider-select-id="c65833ed-31b6-4744-b487-cbe596273f6d" %)**Note:1.When there is no certificate on the device, a deletion error will be displayed. 550 +(% style="color:red" %)**Note: 1.When there is no certificate on the device, a deletion error will be displayed. 557 557 2.When the device already has a certificate, using the command to configure the certificate again will display a configuration error.** 558 558 559 559 ... ... @@ -596,8 +596,9 @@ 596 596 597 597 598 598 (% data-sider-select-id="f443b9bc-1195-4fe2-965d-7de84f78747f" %) 599 -== 5.5 593 +== 5.5 Set the MQOS == 600 600 595 + 601 601 (% data-sider-select-id="cf7bb573-8375-4479-9801-df8bb7dab3ba" style="color:blue; font-weight:bold" %)**AT+MQOS**(% data-sider-select-id="cf7bb573-8375-4479-9801-df8bb7dab3ba" style="color:blue" %)**=XX (Depends on your server configuration)** 602 602 603 603 Please find it in AWS's MQTT test client ... ... @@ -629,4 +629,3 @@ 629 629 [[image:image-20240528175133-19.png||height="563" width="1022"]] 630 630 631 631 [[image:image-20240528175154-20.png||height="752" width="1042"]] 632 -