The UUID of the peripheral to connect to.
Optional
auto2Selects 2M PHY when available (Android only)
Optional
autoDiscover all services on connection. Default is false for faster connection
Optional
autoSelects maximum BLE MTU (247) (Android only)
Optional
onOnce the peripheral is connected this callback function is invoked.
Once the peripheral is connected this callback function is invoked.
Optional
services?: Service[]Optional
onOnce the peripheral is disconnected this callback function is invoked.
Once the peripheral is disconnected this callback function is invoked.
Optional
priorityrequest connection priority (Android only): https://developer.android.com/reference/android/bluetooth/BluetoothGatt.html#requestConnectionPriority(int)
Optional
serviceUUIDsDiscover specified services on connection
Optional
transporttransport selection (Android only)
Generated using TypeDoc
The options object passed into the connect function.