discoverServices method
- @Deprecated("Use `discoverAllServices` and `getDiscoverServices`")
- 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);