ogs-plugin-sdk
    Preparing search index...

    Namespace bluetooth

    Communicate with devices over bluetooth low-energy

    const bt = bluetooth.createClient();
    bt.on('discover', (device) => console.log('discovered device', device));
    await bt.waitForPoweredOn();
    await bt.startScanning();

    Interfaces

    BluetoothCharacteristic
    BluetoothService
    BluetoothDeviceAdvertisement
    BluetoothDevice
    BluetoothClient

    Type Aliases

    BluetoothAdapterState
    BluetoothDeviceState

    Functions

    createClient