Optional
auto2Selects 2M PHY when available (Android only)
Optional
autoDiscover all services on connection. Default is true. however connection will be slower
For faster connection disable it and do the discovery with discoverServices
(you can filter to discover only some services)
Optional
autoSelects maximum BLE MTU (247) (Android only)
Optional
onOnce the peripheral is connected this callback function is invoked.
Optional
onOnce 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)
The UUID of the peripheral to connect to.
The options object passed into the connect function.