> A react hook thet helps you to interact with Bluetooth Low Energy (BLE) over WebBluetooth
npm install use-blebash
npm install --save use-ble
`
`bash
yarn add use-ble
`
Examples
There are a couple of examples in the examples/ folder.
Documentation
$3
getBleServer is a async function that returns the device and the GATT-server.
#### Parameters
- optionalServices: An array of bluetooth service UUID you want to use later on
- filters: An array of BluetoothRequestDeviceFilter (for example {name: 'PLAYBULB sphere'})
- onDisconnect: A callback that passes the device and is fired on disconnect
$3
useBleCharacteristic` is a react hook that makes it very convenient to interact with a BLE GATT-Characteristic.