Last modified by Mengting Qiu on 2025/07/29 15:24

From version 47.1
edited by Mengting Qiu
on 2025/05/20 15:54
Change comment: There is no comment for this version
To version 51.2
edited by Mengting Qiu
on 2025/07/29 14:58
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -322,6 +322,47 @@
322 322  After completing the certificate configuration, Burn the [[bootloader>>https://www.dropbox.com/sh/u0uzvvnn58yrie4/AAAvvF_KRveNgmDejzp23ziLa/NB-IoT/Bootloader?dl=0&subfolder_nav_tracking=1]] firmware first, then re-burn the original working [[firmware>>https://www.dropbox.com/sh/u0uzvvnn58yrie4/AACREHllkTe0rATD4ZOqddyga/NB-IoT?dl=0]].
323 323  
324 324  
325 +==== 4.1.2.5 Certificate Management for -NB/-NS Models ====
326 +
327 +
328 +The -NB/-NS modules (BC660K) do not support clearing certificates via AT commands or firmware updates.
329 +
330 +To effectively remove existing certificates or test certificate upload functionality, users may overwrite them with dummy data.
331 +
332 +
333 +To effectively "clear" existing certificates, users may overwrite them with arbitrary data by following these steps:
334 +
335 +**Scenario A:** Clearing Existing Certificates
336 +
337 +1.Flash the certificate-provisioning firmware: **[[Set up TLS certificate - Dropbox>>https://www.dropbox.com/scl/fo/1ykfsesmr3702tj3kp663/AOOyH1GiVEOGR41gASuiDk0?rlkey=1q7a1b5yvjgt87d16w8tt0cum&st=vdy765ut&dl=0||data-sider-select-id="830d1b64-cb24-48b3-91e4-49da5c3f0783"]]**
338 +
339 +2. Use the standard AT commands (AT+CACERT, AT+CLICERT, AT+CLIKEY) to write non-certificate data (e.g., random strings like 123456).
340 +Example:
341 +
342 +AT+CACERT=123456}
343 +
344 +AT+CLICERT=123456}
345 +
346 +AT+CLIKEY=123456}
347 +
348 +
349 +**Scenario B:** Testing Certificate Upload Functionality
350 +
351 +If users want to test whether certificate writing works (without having valid certificates yet):
352 +
353 +~1. Follow the same steps as above.
354 +
355 +2. Check for success responses after each command:
356 +
357 +* Expected output:
358 +
359 +[[image:1753772253801-330.png||height="495" width="620"]]
360 +
361 +* If you get "Failure, retry or check module connectivity.
362 +
363 +3. Later, when you have real certificates, overwrite the dummy data with actual certificates.
364 +
365 +
325 325  == 4.2  For -CB /-CS model ==
326 326  
327 327  === 4.2.1 Upgrade the firmware to configure TLS firmware to set the certificate ===
... ... @@ -337,8 +337,6 @@
337 337  
338 338  Methods to Update Firmware:
339 339  
340 -* (Recommended way) OTA firmware update via BLE: [[**Instruction**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/BLE_Firmware_Update_NB_Sensors_BC660K-GL/]].
341 -
342 342  * Update through UART TTL interface : **[[Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART_Access_for_NB_ST_BC660K-GL/#H4.2UpdateFirmware28Assumethedevicealreadyhaveabootloader29]]**.
343 343  
344 344  === 4.2.2 Configure certificate ===
1753772253801-330.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +88.7 KB
Content