<
From version < 27.1 >
edited by kai
on 2024/08/14 15:56
To version < 24.3 >
edited by Bei Jinggeng
on 2024/05/29 18:06
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.kai
1 +XWiki.Bei
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,9 +114,10 @@
114 114  
115 115  = 4. Connect to AWS using Dragino-NB device =
116 116  
117 -== 4.1 For -NB /-NS model ==
117 +(% class="wikigeneratedid" 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(%%) ==
118 118  
119 -=== 4.1.1 Upgrade the firmware to configure TTS firmware to set the certificate ===
120 +=== (% data-sider-select-id="293a2a9f-2191-4013-b0d9-8bcfb95a179a" %)4.1.1 Upgrade the firmware to configure TTS firmware to set the certificate(%%) ===
120 120  
121 121  
122 122  User can change device firmware to::
... ... @@ -133,18 +133,17 @@
133 133  
134 134  * Update through UART TTL interface : **[[Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART_Access_for_NB_ST_BC660K-GL/#H4.2UpdateFirmware28Assumethedevicealreadyhaveabootloader29]]**.
135 135  
136 -=== 4.1.2 Configure certificate ===
137 137  
138 -(% style="color:red" %)**Note: **(%%)In order to avoid problems with certificate writing, you need to set the serial port assistant to automatically add a newline character when sending commands, if there is no such newline character, the certificate written will be invalid.(Using the serial port assistant as an example)
138 +=== (% data-sider-select-id="bb7de328-bb5d-4fe5-a008-7bf36bbf2d64" %)4.1.2 Configure certificate(%%) ===
139 139  
140 -[[image:image-20240814155410-1.png||height="328" width="563"]]
141 141  
142 142  After upgrade the firmware, the serial port displays as follows:
143 143  
143 +(% data-sider-select-id="8b6a9e23-dec0-476c-acd4-098aa19fe1f3" %)
144 144  [[image:image-20240528174330-13.png||height="286" width="568"]]
145 145  
146 146  
147 -==== 4.1.2.1  Configure CA certificate ====
147 +==== (% data-sider-select-id="4f272daa-a217-4469-8de7-f4905835bbad" %)4.1.2.1  Configure CA certificate(%%) ====
148 148  
149 149  
150 150  Please input the certificate in PEM format for the user.
... ... @@ -203,7 +203,7 @@
203 203  Display (% style="color:blue" %)**"Successfully configured CA certificate."**(%%) If the configuration is successful, otherwise it is considered configuration failure.
204 204  
205 205  
206 -==== 4.1.2.2 Configure client certificate ====
206 +==== (% data-sider-select-id="0b9009b4-385e-4e1e-91d4-0175c1af339d" %)4.1.2.2 Configure client certificate(%%) ====
207 207  
208 208  
209 209  Use the AT command AT+CLICERT as follows:
... ... @@ -255,7 +255,7 @@
255 255  Display (% style="color:blue" %)**"Successfully configured client certificate."**(%%) Configuration successful, otherwise configuration failed.
256 256  
257 257  
258 -==== 4.1.2.3 Configure client private key ====
258 +==== (% data-sider-select-id="7c5a8abc-e707-467b-ac02-db0a89098320" %)4.1.2.3 Configure client private key(%%) ====
259 259  
260 260  
261 261  Use the AT command AT+CLIKEY, as shown below
... ... @@ -321,15 +321,16 @@
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 -==== 4.1.2.4 Re-upgrade the firmware ====
324 +==== (% data-sider-select-id="9c62fd56-4ff5-48af-8cca-db4565d1f25d" %)4.1.3.3 Re-upgrade the firmware(%%) ====
325 325  
326 326  
327 327  After the certificate configuration is completed, Re-upgrade to the firmware you originally used.
328 328  
329 329  
330 +(% data-sider-select-id="02f5aceb-0a5d-4922-8c3a-7e6772f46ad4" %)
330 330  == 4.2  For -CB /-CS model ==
331 331  
332 -=== 4.2.1 Upgrade the firmware to configure TTS firmware to set the certificate ===
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(%%) ===
333 333  
334 334  
335 335  User can change device firmware to::
... ... @@ -346,17 +346,18 @@
346 346  
347 347  * Update through UART TTL interface : **[[Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART_Access_for_NB_ST_BC660K-GL/#H4.2UpdateFirmware28Assumethedevicealreadyhaveabootloader29]]**.
348 348  
349 -=== 4.2.2 Configure certificate ===
350 350  
351 +=== (% data-sider-select-id="bb7de328-bb5d-4fe5-a008-7bf36bbf2d64" %)4.2.2 Configure certificate(%%) ===
351 351  
353 +
352 352  After upgrade the firmware, the serial port displays as follows:
353 353  
356 +(% data-sider-select-id="8b6a9e23-dec0-476c-acd4-098aa19fe1f3" %)
354 354  [[image:image-20240528174330-13.png||height="286" width="568"]]
355 355  
356 356  
357 -==== 4.2.2.1 Configure CA certificate ====
360 +==== (% data-sider-select-id="4f272daa-a217-4469-8de7-f4905835bbad" %)4.2.2.1  Configure CA certificate(%%) ====
358 358  
359 -(% style="color:red" %)**Note:You should select one of the certificates.Either CA1 or CA3 can be used**
360 360  
361 361  Please input the certificate in PEM format for the user.
362 362  
... ... @@ -414,7 +414,7 @@
414 414  Display (% style="color:blue" %)**"Successfully configured CA certificate."**(%%) If the configuration is successful, otherwise it is considered configuration failure.
415 415  
416 416  
417 -==== 4.2.2.2 Configure client certificate ====
419 +==== (% data-sider-select-id="0b9009b4-385e-4e1e-91d4-0175c1af339d" %)4.2.2.2 Configure client certificate(%%) ====
418 418  
419 419  
420 420  Use the AT command AT+CLICERT as follows:
... ... @@ -466,7 +466,7 @@
466 466  Display (% style="color:blue" %)**"Successfully configured client certificate."**(%%) Configuration successful, otherwise configuration failed.
467 467  
468 468  
469 -==== 4.2.2.3 Configure client private key ====
471 +==== (% data-sider-select-id="7c5a8abc-e707-467b-ac02-db0a89098320" %)4.2.2.3 Configure client private key(%%) ====
470 470  
471 471  
472 472  Use the AT command AT+CLIKEY, as shown below
... ... @@ -532,20 +532,26 @@
532 532  Display(% style="color:blue" %)** "Successfully configured client private key."**(%%) If the configuration is successful, otherwise it is considered configuration failure.
533 533  
534 534  
535 -==== 4.2.2.4 For -CB /-CS model Certificate setting error/change certificate ====
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(%%) ====
536 536  
537 -
538 538  (% data-sider-select-id="7c5a8abc-e707-467b-ac02-db0a89098320" %)When you set the wrong certificate or you need to re-set another certificate.
539 539  Please use the following three commands:
540 540  
541 -(% style="color:blue" %)**AT+DELCLIKEY}**
542 +(% data-sider-select-id="fbe1c153-2a79-4b56-b8ef-0afb2ae3dfc1" %)
542 542  
543 -(% style="color:blue" %)**AT+DELCLICERT}**
544 +AT+DELCLIKEY}
544 544  
545 -(% style="color:blue" %)**AT+DELCACERT}**(%%)
546 -(% style="color:blue" %)
546 +(% data-sider-select-id="39d0e453-8af0-4093-8619-270f431f12c4" %)
547 547  
548 -(% style="color:red" %)**Note: 1.When there is no certificate on the device, a deletion error will be displayed.
548 +AT+DELCLICERT}
549 +
550 +(% data-sider-select-id="51d2a3c0-6e7d-462f-9561-8b464ccdafac" %)
551 +
552 +AT+DELCACERT}
553 +
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.
549 549   2.When the device already has a certificate, using the command to configure the certificate again will display a configuration error.**
550 550  
551 551  
... ... @@ -588,9 +588,8 @@
588 588  
589 589  
590 590  (% data-sider-select-id="f443b9bc-1195-4fe2-965d-7de84f78747f" %)
591 -== 5.5 Set the MQOS ==
599 +== 5.5  Set the MQOS ==
592 592  
593 -
594 594  (% 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)**
595 595  
596 596  Please find it in AWS's MQTT test client
... ... @@ -622,3 +622,4 @@
622 622  [[image:image-20240528175133-19.png||height="563" width="1022"]]
623 623  
624 624  [[image:image-20240528175154-20.png||height="752" width="1042"]]
632 +
image-20240814155410-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.kai
Size
... ... @@ -1,1 +1,0 @@
1 -77.8 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0