onServiceDiscoveryRequest

Called when a service discovery request is made to the mock peripheral.

Note, that this method does not return the list of services. Instead, it only indicates whether the discovery should succeed or fail. The actual list of services is determined by the PeripheralSpec definition.

Return

The result of the service discovery request, by default ServiceDiscoveryResult.Success.

Parameters

uuids

The list of service UUIDs requested by the client.