- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I've looked through the SDK (v1.1.0) a bit and done some file searches but I can't find how to set the OOB data. I'm trying to have the Broadcom module be used in peripheral mode, and only allow OOB pairing.
I've seen the OOB flag in the LESMP_PAIRING_REQ_CMD structure, so I would assume that if that flag is set (by both devices), then the OOB pairing method will be used. But it requires the OOB data to also be set and I haven't been able to find that yet.
Along with this, I'd like to then use OOB only and disallow the other pairing methods. I believe this can be done when a pairing request comes in by checking the OOB flag and if it is false, sending back an error response. I was able to test this in another BLE stack. I wanted to know if I do get a callback when there is a pairing request and what it is called.
Thanks,
Mike
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
WICED smart sample code for out of band pairing and key exchange
The above post states that it is not currently possible but should be available in SDK 2.1.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There was a previous thread on OOB pairing here which you may find helpful: Re: 20732 support for "out of band" pairing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks. That post mentions "If out of band data is available it is used to generate keys". What is the API to set the out of band data?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
WICED smart sample code for out of band pairing and key exchange
The above post states that it is not currently possible but should be available in SDK 2.1.