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

Generic OOB Pairing Example

We're trying to implement OOB pairing where the 128-bit value is received externally (not NFC). All examples I could find are NFC related and seem to require the external NFC antenna which I don't have. Is there any generic OOB example or guide on how to get started?

I tried digging into the NFC libraries but they are huge and much of the code seems unrelated to OOB. 

Specifically I want to implement LESC OOB on both the central and peripheral side.

Parents
  • Hi,

    Yes, most of the NFC code is unrelated to OOB. We don't have any generic LESC OOB example unfortunately. However, I still think the ble_app_hrs_nfc_pairing example can be a good starting point. nfc_ble_pair_lib.c shows the API calls used to manage OOB pairing with NFC tag and Peer manager and I think you can replace the NFC APIs with the OOB transport you have. 

    Also, it may be useful to have a look at message sequence chart for LESC OOB bond procedure in the SDS (link) and in core spec. 5, vol. 3, part H, Appendix C, section 2.2.2.10. 

Reply
  • Hi,

    Yes, most of the NFC code is unrelated to OOB. We don't have any generic LESC OOB example unfortunately. However, I still think the ble_app_hrs_nfc_pairing example can be a good starting point. nfc_ble_pair_lib.c shows the API calls used to manage OOB pairing with NFC tag and Peer manager and I think you can replace the NFC APIs with the OOB transport you have. 

    Also, it may be useful to have a look at message sequence chart for LESC OOB bond procedure in the SDS (link) and in core spec. 5, vol. 3, part H, Appendix C, section 2.2.2.10. 

Children
Related