RxFitbitGatt / com.fitbit.bluetooth.fbgatt.rx.client / ClientTransactionProvider / getSubscribeToGattCharacteristicTransactionFor

getSubscribeToGattCharacteristicTransactionFor

fun getSubscribeToGattCharacteristicTransactionFor(gattConnection: GattConnection, bluetoothGattCharacteristic: BluetoothGattCharacteristic): GattTransaction

Provides a subscribe to gatt characteristic bitgatt transaction. This operation does not run any bluetooth specific operation, instead just tells the system our app is interested in notifications from this characteristic.

Parameters

gattConnection - The connection on which the transaction will run.

bluetoothGattCharacteristic - The characteristic on which we want to receive notifications.