discoverServices method

  1. @Deprecated("Use `discoverAllServices` and `getDiscoverServices`")
Future<List<DiscoveredService>> discoverServices(
  1. String deviceId
)

Performs service discovery on the peripheral and returns the discovered services.

When discovery fails this method throws an Exception.

Implementation

@Deprecated("Use `discoverAllServices` and `getDiscoverServices`")
Future<List<DiscoveredService>> discoverServices(String deviceId) =>
    _connectedDeviceOperator.discoverServices(deviceId);