Changes for page Dragino NB device connection to AWS platform instructions
Last modified by Mengting Qiu on 2025/03/06 13:42
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. kai1 +XWiki.Xiaoling - Content
-
... ... @@ -34,9 +34,9 @@ 34 34 35 35 c. After clicking to enter the policy configuration page, follow the clicking sequence below to go to the json configuration interface, and then fill in the following fields in the "statement" keyword: 36 36 37 +(% data-sider-select-id="7bc0f6db-481d-435a-ad0c-92cf0ede3ea4" %) 38 +(% data-sider-select-id="8026a4d9-df91-4895-b9c5-3d6ac9b46012" %)**{** 37 37 38 -**{** 39 - 40 40 **~ "Version": "2012-10-17",** 41 41 42 42 **~ "Statement": [** ... ... @@ -99,9 +99,9 @@ 99 99 100 100 (% style="color:blue" %)**5. When you click to create things, the certificate download page will pop up** 101 101 102 +(% data-sider-select-id="398c8d35-75ff-4077-85bb-9e0377efa186" %) 103 +(% data-sider-select-id="087aa6c7-c542-4afc-9ce6-291538c31764" %)**This certificate is very important.**(%%) After creating the device, you must download the certificate of the device so that our NB device can connect normally. 102 102 103 -**This certificate is very important.** After creating the device, you must download the certificate of the device so that our NB device can connect normally. 104 - 105 105 Please download all the following certificates and put them in a folder. 106 106 107 107 [[image:image-20240528173926-10.png]] ... ... @@ -114,16 +114,12 @@ 114 114 115 115 = 4. Connect to AWS using Dragino-NB device = 116 116 117 +(% data-sider-select-id="0bc6b974-b38c-48e7-b228-e220f1938e7f" %) 118 +== 4.1 F(% data-sider-select-id="293a2a9f-2191-4013-b0d9-8bcfb95a179a" %)or -NB /-NS model(%%) == 117 117 118 - (% id="cke_bm_37736S" style="color: red; display: none" %)** **(% style="color:red"%)**Note: **(%%)Inordertoavoidproblems withcertificatewriting,you needto settheserial portassistant toautomatically add anewline characterwhensending commands, if thereis no such newline character,the certificatewritten will be invalid.(Using the serial port assistant as an example)120 +=== (% data-sider-select-id="293a2a9f-2191-4013-b0d9-8bcfb95a179a" %)4.1.1 Upgrade the firmware to configure TTS firmware to set the certificate(%%) === 119 119 120 -[[image:image-20240814155410-1.png||height="328" width="563"]] 121 121 122 -== 4.1 For -NB /-NS model == 123 - 124 -=== 4.1.1 Upgrade the firmware to configure TTS firmware to set the certificate === 125 - 126 - 127 127 User can change device firmware to:: 128 128 129 129 * Update with new features. ... ... @@ -138,15 +138,16 @@ 138 138 139 139 * Update through UART TTL interface : **[[Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART_Access_for_NB_ST_BC660K-GL/#H4.2UpdateFirmware28Assumethedevicealreadyhaveabootloader29]]**. 140 140 141 -=== 4.1.2 Configure certificate === 137 +=== (% data-sider-select-id="bb7de328-bb5d-4fe5-a008-7bf36bbf2d64" %)4.1.2 Configure certificate(%%) === 142 142 143 143 144 144 After upgrade the firmware, the serial port displays as follows: 145 145 142 +(% data-sider-select-id="8b6a9e23-dec0-476c-acd4-098aa19fe1f3" %) 146 146 [[image:image-20240528174330-13.png||height="286" width="568"]] 147 147 148 148 149 -==== 4.1.2.1 Configure CA certificate ==== 146 +==== (% data-sider-select-id="4f272daa-a217-4469-8de7-f4905835bbad" %)4.1.2.1 Configure CA certificate(%%) ==== 150 150 151 151 152 152 Please input the certificate in PEM format for the user. ... ... @@ -205,7 +205,7 @@ 205 205 Display (% style="color:blue" %)**"Successfully configured CA certificate."**(%%) If the configuration is successful, otherwise it is considered configuration failure. 206 206 207 207 208 -==== 4.1.2.2 Configure client certificate ==== 205 +==== (% data-sider-select-id="0b9009b4-385e-4e1e-91d4-0175c1af339d" %)4.1.2.2 Configure client certificate(%%) ==== 209 209 210 210 211 211 Use the AT command AT+CLICERT as follows: ... ... @@ -257,7 +257,7 @@ 257 257 Display (% style="color:blue" %)**"Successfully configured client certificate."**(%%) Configuration successful, otherwise configuration failed. 258 258 259 259 260 -==== 4.1.2.3 Configure client private key ==== 257 +==== (% data-sider-select-id="7c5a8abc-e707-467b-ac02-db0a89098320" %)4.1.2.3 Configure client private key(%%) ==== 261 261 262 262 263 263 Use the AT command AT+CLIKEY, as shown below ... ... @@ -323,14 +323,16 @@ 323 323 Display(% style="color:blue" %)** "Successfully configured client private key."**(%%) If the configuration is successful, otherwise it is considered configuration failure. 324 324 325 325 326 -==== 4.1.2.4 Re-upgrade the firmware ==== 323 +==== (% data-sider-select-id="9c62fd56-4ff5-48af-8cca-db4565d1f25d" %)4.1.2.4 Re-upgrade the firmware(%%) ==== 327 327 328 328 329 329 After the certificate configuration is completed, Re-upgrade to the firmware you originally used. 330 330 331 331 329 +(% data-sider-select-id="02f5aceb-0a5d-4922-8c3a-7e6772f46ad4" %) 332 332 == 4.2 For -CB /-CS model == 333 333 332 +(% class="wikigeneratedid" data-sider-select-id="02f5aceb-0a5d-4922-8c3a-7e6772f46ad4" %) 334 334 === 4.2.1 Upgrade the firmware to configure TTS firmware to set the certificate === 335 335 336 336 ... ... @@ -348,17 +348,19 @@ 348 348 349 349 * Update through UART TTL interface : **[[Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART_Access_for_NB_ST_BC660K-GL/#H4.2UpdateFirmware28Assumethedevicealreadyhaveabootloader29]]**. 350 350 351 -=== 4.2.2 Configure certificate === 352 352 353 353 352 +=== (% data-sider-select-id="bb7de328-bb5d-4fe5-a008-7bf36bbf2d64" %)4.2.2 Configure certificate(%%) === 353 + 354 + 354 354 After upgrade the firmware, the serial port displays as follows: 355 355 357 +(% data-sider-select-id="8b6a9e23-dec0-476c-acd4-098aa19fe1f3" %) 356 356 [[image:image-20240528174330-13.png||height="286" width="568"]] 357 357 358 358 359 -==== 4.2.2.1 Configure CA certificate ==== 361 +==== (% data-sider-select-id="4f272daa-a217-4469-8de7-f4905835bbad" %)4.2.2.1 Configure CA certificate(%%) ==== 360 360 361 -(% style="color:red" %)**Note:You should select one of the certificates.Either CA1 or CA3 can be used** 362 362 363 363 Please input the certificate in PEM format for the user. 364 364 ... ... @@ -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 -==== 4.2.2.2 Configure client certificate ==== 420 +==== (% data-sider-select-id="0b9009b4-385e-4e1e-91d4-0175c1af339d" %)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 -==== 4.2.2.3 Configure client private key ==== 472 +==== (% data-sider-select-id="7c5a8abc-e707-467b-ac02-db0a89098320" %)4.2.2.3 Configure client private key(%%) ==== 472 472 473 473 474 474 Use the AT command AT+CLIKEY, as shown below ... ... @@ -534,7 +534,7 @@ 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 -==== 4.2.2.4 For -CB /-CS model Certificate setting error/change certificate ==== 538 +==== (% 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(%%) ==== 538 538 539 539 540 540 (% data-sider-select-id="7c5a8abc-e707-467b-ac02-db0a89098320" %)When you set the wrong certificate or you need to re-set another certificate. ... ... @@ -544,8 +544,8 @@ 544 544 545 545 (% style="color:blue" %)**AT+DELCLICERT}** 546 546 547 -(% style="color:blue" %)**AT+DELCACERT}** (%%)548 - (%style="color:blue" %)548 +(% style="color:blue" %)**AT+DELCACERT}** 549 + 549 549 550 550 (% style="color:red" %)**Note: 1.When there is no certificate on the device, a deletion error will be displayed. 551 551 2.When the device already has a certificate, using the command to configure the certificate again will display a configuration error.**
- image-20240814155410-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.kai - Size
-
... ... @@ -1,1 +1,0 @@ 1 -77.8 KB - Content