This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

how to handle pairing/bonding in serialization system?

we have deploy the serialization libraries in our host to communicate with nrf52840, but it seems the serialization libraries don't handle pairing/bonding event, so we can't peform a success pairing with the peripheral device, pairing/bonding will use hardware resource like flash(store bonding information), encryption/random generator(generate random data, compute encryted data), does it need implement in host?

Thanks

Parents
  • With this design, now we can successfully find the peripheral advertisement, establish BLE connection, then failed at security request, because we don’t handle security request events in our system. The peripheral then disconnect.

    Generally speaking, in a non-serialization system, pairing/bonding is handled by peer_manager module which haven’t ported in our system, it use a lot of internal nRF parts, including flash( store bonding information), cryptocell( if LESC is enabled, CC310 is used as crypto backend), so I'm considering how much effort to implement those hardware-related functions in the main processor.

Reply
  • With this design, now we can successfully find the peripheral advertisement, establish BLE connection, then failed at security request, because we don’t handle security request events in our system. The peripheral then disconnect.

    Generally speaking, in a non-serialization system, pairing/bonding is handled by peer_manager module which haven’t ported in our system, it use a lot of internal nRF parts, including flash( store bonding information), cryptocell( if LESC is enabled, CC310 is used as crypto backend), so I'm considering how much effort to implement those hardware-related functions in the main processor.

Children
No Data
Related