class PeripheralConnectionChangeListener
Listener to observer peripheral connection state changes
PeripheralConnectionChangeListener(serverConnectionChangeListener: GattServerConnectionChangeListener = GattServerConnectionChangeListener, clientConnectionChangeListener: GattClientConnectionChangeListener = GattClientConnectionChangeListener())
Listener to observer peripheral connection state changes |
fun register(gattConnection: GattConnection): Observable<PeripheralConnectionStatus>
Register a listener for connection state changes for a device |