# Bluetooth API 📶

aka Web Bluetooth API

TIP

The Web Bluetooth API provides the ability to connect and interact with Bluetooth Low Energy (BLE) peripherals.

# Examples

# Demo #1

Bluetooth simple demo


Code
navigator.bluetooth.requestDevice({acceptAllDevices: true})
  .then((device) => {
    this.name = device.name
    console.log(device)
  })
1
2
3
4
5

bluetooth