How Web Bluetooth Works to Access IoT Devices

Web Bluetooth for IoT

Bluetooth technology is making very excited, almost everyone, like tech users, developers and manufacturers, it is bringing lots of innovations by transforming day-to-day objects into IoT devices for better life.

Until now, we have had the ability to interact Bluetooth devices using only native apps. Google Chrome’s web development team regularly implement new APIs to extend new possibilities for web apps to behave an equivalent to that of native apps. Web Bluetooth API is targeted to change native app scenarios and brings Bluetooth device interaction into web browsers.

Web Bluetooth allows web developers to use Bluetooth to communicate with smart Bluetooth Low Energy devices. Similar to the Physical Web, users can interact with IoT devices when they are in range of the device. Web Bluetooth is a draft API, that allows a user to scan and select any local IoT device within range from a web page. Once the user selects a device from multiple IoT devices, a web page can directly control a device via Bluetooth Low Energy. The latest Google Chrome update has an Android enabled web Bluetooth to control IoT devices. To learn more, take a look at our previous blog post “How Bluetooth Low Energy (BLE) supports Chrome to communicate with devices over IP”.

Communicating with Bluetooth devices through a web browser provides a great opportunity for companies to launch new IoT devices. They can spend more time and money on new product development instead of a native app for different platforms.

More sensitive web APIs are switching over only to the HTTPS mode. The Web Bluetooth API is no exception, it works only on HTTPS pages. The API will not work in the background without a user approve. The user can choose a Bluetooth Low Energy device to pair with it. Once the user is connected to a BLE device, it should gather data and connect to the BLE devices. BLE provides most of its functionality through key pairs provided by the Generic Attribute Profile (GATT).

Web Bluetooth provides endless opportunities for IoT device manufacturers. We at BlueApp.io support Web Bluetooth to access IoT devices without downloading any specific native app for IoT device.