Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 714 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 714 Bytes

@commoners/bluetooth

A plugin for connecting to Bluetooth Low Energy devices across all platforms using the Web Bluetooth API (web, desktop) or Capacitor's @capacitor-community/bluetooth-le plugin (web, desktop, mobile)

Usage

import bluetoothPlugin from '@commoners/bluetooth'

export default {
    plugins: [ bluetoothPlugin ]
}

Mobile Support

To use the BLE plugin on mobile, you must:

  1. Implement your Bluetooth code using the @capacitor-community/bluetooth-le package.
  2. Explicitly include the @capacitor-community/bluetooth-le package in your project.