W3C home > Mailing lists > Public > public-web-bluetooth-log@w3.org > January 2017

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

From: Emill via GitHub <sysbot+gh@w3.org>
Date: Tue, 31 Jan 2017 13:37:37 +0000
To: public-web-bluetooth-log@w3.org
Message-ID: <issue_comment.created-276364670-1485869856-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.3.1 : Tuesday, 31 January 2017 13:37:45 UTC