connect method

Stream<BleConnectionState> connect({
  1. required String deviceAddress,
})

Asks the platform to connect to a Bluetooth device by its address.

Returns a Stream of BleConnectionState.

Implementation

Stream<BleConnectionState> connect({required String deviceAddress}) {
  return CentralPlatformInterface.instance
      .connect(deviceAddress: deviceAddress);
}