Re: [web-bluetooth] Provide an option to bond device before connecting to device

There is a simpler way to force pairing if no API is available if you 
control the peripheral. Just send an SMP Security Request when you 
need to pair. In the Flic firmware, we need to pair at a specific 
stage in our own custom protocol we run over BLE, so on iOS we write a
 specific value to a specific custom characteristic which makes the 
peripheral send the Security Request and iOS will pop up a pair 
dialog.

FYI I wrote some info regarding how HID works on Android at 
https://bugs.chromium.org/p/chromium/issues/detail?id=670281#c25.

-- 
GitHub Notification of comment by Emill
Please view or discuss this issue at 
https://github.com/WebBluetoothCG/web-bluetooth/issues/346#issuecomment-276364670
 using your GitHub account

Received on Tuesday, 31 January 2017 13:37:44 UTC