How to use CONFIG_MCUMGR_TRANSPORT_BT_PERM_RW_AUTHEN

Hello.

I am trying DFU with reference to DevAcademy Lesson 9. I am glad to see that it has been updated for v2.7.0 - v2.9.0.
I am interested in the following settings.

Also, it’s highly recommended to authenticate and encrypt the connection where the DFU will take place. This can be done by enabling CONFIG_MCUMGR_TRANSPORT_BT_PERM_RW_AUTHEN. When this option is enabled, a 6-digit passkey will be displayed on your serial terminal, which must be entered into the phone app.

I tried it right away, but an error occurred in the Device Manager App. Also, the Passkey was not displayed in the serial terminal.

The DFU settings follow Exercise 5 – FOTA over Bluetooth Low Energy and Simultaneous updates for both cores of the nRF5340.
What should I refer to for any missing settings or implementations?

Thanks for reading.

a.da

Related