Overview

The Web Bluetooth API enables the web to interact directly with hardware devices like heart rate monitors, light bulbs, and toys. It uses the Generic Attribute Profile (GATT) to read and write data to device characteristics.

Security and Privacy

  • HTTPS Only: Only available on secure sites.
  • User Gesture: Must be initiated by a user action.
  • Device Picker: The user must explicitly select the device they want to connect to from a browser-provided list.

Use Cases

  • Web-based configuration tools for hardware.
  • Fitness and health tracking dashboards.
  • Educational tools for interacting with robotics.

Related Terms