Re: [web-bluetooth] Why display “Connected: false” when pair to BLE device in Web Bluetooth API sample?

I understand why it can be confusing. To actually connect to the device, you have to call `await device.gatt.connect()`. See https://googlechrome.github.io/samples/web-bluetooth/battery-level.html

I may need to update `Connected: false` to `GATT Connected: false`. Would that help? 

See https://developers.google.com/web/updates/2015/07/interact-with-ble-devices-on-the-web#connect_to_a_bluetooth_device

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

Received on Monday, 9 July 2018 08:06:01 UTC