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 (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,17 +1,19 @@ 1 1 {{toc/}} 2 2 3 3 4 -= 1. Log in to the platform and find I oT core =4 += (% data-sider-select-id="01d9dce7-4047-4b71-a8e2-c5df7daa2d54" %)1. Log in to the platform and find IOT core(%%) = 5 5 6 6 7 -= 2. Create your own test policy = 7 += (% data-sider-select-id="4d2599c0-e2a9-4d10-8c01-c68a77c3b183" %)2. Create your own test policy(%%) = 8 8 9 -== 2.1 First click the policy on the left, enter the page and click Create policy == 9 +(% data-sider-select-id="499b9594-5b20-42a9-b15b-21be5a1ef28e" %) 10 +== (% data-sider-select-id="c0f85e83-53c9-450c-b4eb-457071bdfbf9" %)2.1 First click the policy on the left, enter the page and click Create policy(%%) == 10 10 12 +(% class="wikigeneratedid" id="H" %) 11 11 [[image:image-20240528172927-2.png||height="377" width="931"]] 12 12 13 13 14 -== 2.2 After filling in a policy name for testing, the policy will be displayed on the page == 16 +== (% data-sider-select-id="02035a79-77c4-4edb-b132-61acdb529526" %)2.2 After filling in a policy name for testing, the policy will be displayed on the page(%%) == 15 15 16 16 17 17 a. Fill in any name ... ... @@ -189,7 +189,7 @@ 189 189 190 190 ~-~-~-~--END CERTIFICATE~-~-~-~--} 191 191 192 - (% style="color:red" %)**Note: Be sure to add a terminator "}" at the end of the command. Otherwise, the command will not execute successfully.**194 +**Note: Be sure to add a terminator "}" at the end of the command. Otherwise, the command will not execute successfully.** 193 193 194 194 [[image:image-20240528174408-14.png]] 195 195 ... ... @@ -198,9 +198,10 @@ 198 198 199 199 [[image:image-20240528174502-15.png]] 200 200 201 -Display (% style="color:blue" %)**"Successfully configured CA certificate."**(%%)If the configuration is successful, otherwise it is considered configuration failure.203 +Display **"Successfully configured CA certificate."** If the configuration is successful, otherwise it is considered configuration failure. 202 202 203 203 206 +(% data-sider-select-id="49618231-3f2d-4069-952f-8ca923909048" %) 204 204 === 4.2.2 Configure client certificate === 205 205 206 206 ... ... @@ -246,13 +246,14 @@ 246 246 247 247 ~-~-~-~--END CERTIFICATE~-~-~-~--} 248 248 249 - (% style="color:red" %)**Note: Be sure to add a terminator "}" at the end of the command. Otherwise, the command will not execute successfully.**252 +**Note: Be sure to add a terminator "}" at the end of the command. Otherwise, the command will not execute successfully.** 250 250 251 251 [[image:image-20240528174630-16.png||height="553" width="747"]] 252 252 253 -Display (% style="color:blue" %)**"Successfully configured client certificate."**(%%)Configuration successful, otherwise configuration failed.256 +Display **"Successfully configured client certificate."** Configuration successful, otherwise configuration failed. 254 254 255 255 259 +(% data-sider-select-id="61ec994b-4a66-4db9-8b86-a401c99ba491" %) 256 256 === 4.2.3 Configure client private key === 257 257 258 258 ... ... @@ -312,13 +312,14 @@ 312 312 313 313 ~-~-~-~--END RSA PRIVATE KEY~-~-~-~--} 314 314 315 - (% style="color:red" %)**Note: Be sure to add a terminator "}" at the end of the command. Otherwise, the command will not execute successfully.**319 +**Note: Be sure to add a terminator "}" at the end of the command. Otherwise, the command will not execute successfully.** 316 316 317 317 [[image:image-20240528174702-17.png]] 318 318 319 -Display (% style="color:blue" %)** "Successfully configured client private key."**(%%)If the configuration is successful, otherwise it is considered configuration failure.323 +Display** "Successfully configured client private key."** If the configuration is successful, otherwise it is considered configuration failure. 320 320 321 321 326 +(% data-sider-select-id="6ba3fbe9-394a-47e2-8eca-715449162645" %) 322 322 === 4.3.3 Re-upgrade the firmware === 323 323 324 324 ... ... @@ -325,8 +325,10 @@ 325 325 After the certificate configuration is completed, Re-upgrade to the firmware you originally used. 326 326 327 327 333 +(% data-sider-select-id="d010cb3f-ad9a-4420-80d1-919b61731f41" %) 328 328 = 5. Configure draginoNB-device = 329 329 336 +(% data-sider-select-id="8125b1b7-0428-410e-a7c1-261a468944de" %) 330 330 == 5.1 Configure the data format sent by the device == 331 331 332 332 ... ... @@ -333,6 +333,7 @@ 333 333 AT+PRO=3,5(Data is in Json format of MQTT) 334 334 335 335 343 +(% data-sider-select-id="ba72cd93-5d23-47b8-8b69-2238e0b501ca" %) 336 336 == 5.2 Set server address == 337 337 338 338 ... ... @@ -339,6 +339,7 @@ 339 339 AT+SERVADDR=an5tk94sdgjat-ats.iot.us-east-1.amazonaws.com,8883 340 340 341 341 350 +(% data-sider-select-id="7da97212-7298-43eb-b178-94231a3eb5d8" %) 342 342 == 5.3 Set up private and public topics == 343 343 344 344 ... ... @@ -349,6 +349,7 @@ 349 349 AT+PUBTOPIC=Any 350 350 351 351 361 +(% data-sider-select-id="a53f5c46-7530-440d-b29e-61a4eaafb709" %) 352 352 == 5.4 Set the TLS mode == 353 353 354 354 ... ... @@ -366,8 +366,10 @@ 366 366 Restart the device 367 367 368 368 379 +(% data-sider-select-id="07128e51-24f8-40ff-b2a7-4a4de2346889" %) 369 369 = 6. View data on AWS = 370 370 382 +(% data-sider-select-id="6c108d6d-db3d-4542-8193-c4c33c88bc41" %) 371 371 == 6.1 Find MQTT test client in test == 372 372 373 373 ... ... @@ -380,7 +380,8 @@ 380 380 [[image:image-20240528175111-18.png||height="409" width="1014"]] 381 381 382 382 383 -== 6.2 The data published information in Subscriptions == 395 +(% data-sider-select-id="9c23abff-6a4a-4320-95a2-33c42eb296f3" %) 396 +== (% data-sider-select-id="638ae5a9-ed23-43ff-bd61-b1c66e0d01d0" %)6.2 The data published information in Subscriptions(%%) == 384 384 385 385 386 386 [[image:image-20240528175133-19.png||height="563" width="1022"]]