This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DFU Security. I do not know the BLE Event

Hi;

I do not know the BLE Event(DFU bootLoader/SDK Sample) so I will ask you a question.

The environment using is below.

SDK v10.0.0 (Sample code/dfu_transport_ble.c)

SoftDevice S110&S120(v8.0.0?&v2.1.0?)

MCP(PC App) v3.10.0.14

nordic nRF51 Dongle

my custom board

;;

I am building a DFU bootLoader.

In that, I can not understand two events.

BLE_GAP_EVT_SEC_INFO_REQUEST

BLE_GAP_EVT_SEC_PARAMS_REQUEST

When dfu_transport_ble.c::m_ble_peer_datais not used(do not want to use it),

I think that the processing that exists in the event is unnecessary.

( To use m_ble_peer_data,Application change required.

But, I can not change the application code.

So, I want to delete unnecessary code. )

From the above, I want to erase the processing described in the event, but do these codes have special meanings?

I waiting for an answer.

thanks.

Parents
  • The events that you're referring to needs to be handled if your bootloader is to pair/bond with the DFU Controller. The default bootloader in our SDK does not bond with the DFU Controller, i.e. does not handle these events, but is passed the address of the DFU controller by the application in the peer data variable you're referring to and it then performs directed advertisement to that address.

Reply
  • The events that you're referring to needs to be handled if your bootloader is to pair/bond with the DFU Controller. The default bootloader in our SDK does not bond with the DFU Controller, i.e. does not handle these events, but is passed the address of the DFU controller by the application in the peer data variable you're referring to and it then performs directed advertisement to that address.

Children
No Data
Related