RxFitbitGatt / com.fitbit.bluetooth.fbgatt.rx / PeripheralConnectionChangeListener / register

register

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

Register a listener for connection state changes for a device

Return
will emit connection state changes if GATT client or server disconnect is detected