serviceOrNull

suspend fun Flow<ConnectableDevice?>.serviceOrNull(serviceUUID: String): RemoteService?

Provides access to RemoteService by service and characteristic string uuids or null if not available.

Return

the RemoteService associated with serviceUUID or null if not available

Parameters

serviceUUID

string service uuid representation

Throws