RxFitbitGatt / com.fitbit.bluetooth.fbgatt.rx / MtuUpdateListener

MtuUpdateListener

class MtuUpdateListener

Listener to observe MTU changes from BitGatt callbacks

Constructors

<init>

MtuUpdateListener(serverMtuChangeListener: GattServerMtuChangeListener = GattServerMtuChangeListener, clientMtuChangeListener: GattClientMtuChangeListener = GattClientMtuChangeListener())

Listener to observe MTU changes from BitGatt callbacks

Functions

register

fun register(gattConnection: GattConnection): Observable<Int>

Register a listener for MTU size update