Reputation: 19172
Running the heart-rate-sensor example, I am unable to detect a BLE device (known-good heart-rate sensor evaluation kit) in the resulting callback after a chrome.bluetooth.getDevices
call.
Even If I attempt to periodically re-call getDevices
every 5s:
setInterval(chrome.bluetooth.getDevices, 5000, onDeviceSearchCompleted);
and toy with the power on the ble device, I only see audio devices I previously connected to in my onDeviceSearchCompleted
callback.
The device is clearly advertising and discoverable as I can see it through this mac app.
Upvotes: 1
Views: 1465
Reputation: 19985
BLE Chrome API not yet implemented on OSX or Windows. Keep waiting. Too bad the Chrome Bluetooth API has no mention of supported OS's. It got my hopes up too.
Upvotes: 2