The
Web Bluetooth API discovers and communicates with devices over the Bluetooth 4 wireless standard using the
Generic Attribute Profile (GATT). It is currently partially implemented behind the experimental flag
chrome://flags/#enable-web-bluetooth. It is also now available in Chrome 53 as an
origin trial for Chrome OS, Android M, and Mac.
This demo illustrates the use of the Web Bluetooth API to retrieve battery information and body sensor location, reset energy expended and start/stop heart rate notifications from a nearby Bluetooth Device advertising Battery and Heart Rate information with Bluetooth Low Energy. You may want to try it with the BLE Peripheral Simulator App from the
Google Play Store.