RxFitbitGatt / com.fitbit.bluetooth.fbgatt.rx.server.listeners / GattServerConnectionChangeListener / getDataObservable

getDataObservable

fun getDataObservable(device: BluetoothDevice): Observable<PeripheralConnectionStatus>

Observable on which changes to Gatt server connection state changes are available

Parameters

device - remote device for which connection state change need to be observer

Return
observable to broadcast Gatt server connection state changes per device