- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
"Just Works" is the default pairing method for the BCM20736S. But is it possible to have a pairing method that is slightly different, waiting for a specific sensor output (connected to the 20736S device) before pairing can be completed ? And in case the expected sensor output is not received, abort the pairing in progress.
Thanks.
Solved! Go to Solution.
- Tags:
- pairing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Unfortunately stack does not provide a callback into the application when it receives pairing request from the peer. What you can do is to enable/disable pairing based on your sensor output. For example if you want to enable pairing only when a button is pushed. You can register to receive interrupts. On the application startup and when button is released you will call
void lesmp_setPairingNotPermitted(void)
When button is pushed call
void lesmp_clearPairingNotPermitted(void)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We will talk to the developers to determine if Passkey pairing can be delayed until a certain sensor value is verified, then completed once confirmed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Unfortunately stack does not provide a callback into the application when it receives pairing request from the peer. What you can do is to enable/disable pairing based on your sensor output. For example if you want to enable pairing only when a button is pushed. You can register to receive interrupts. On the application startup and when button is released you will call
void lesmp_setPairingNotPermitted(void)
When button is pushed call
void lesmp_clearPairingNotPermitted(void)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, works great.