connectToPeripheral method

Future<ConnectedBlePeripheral> connectToPeripheral(
  1. String deviceId
)

Connects to the given peripheral discovered through scan or some other means.

Implementation

Future<ConnectedBlePeripheral> connectToPeripheral(String deviceId) => _BlePlatform.instance.centralManagerConnectToDevice(deviceId);