connect method

Future<BtcConnection> connect({
  1. required String address,
  2. String uuid = BtcUuid.spp,
  3. bool secure = true,
})

Connects to the device at address using the given uuid.

If secure is true (default), uses authenticated/encrypted RFCOMM. Returns a BtcConnection for reading/writing data.

Implementation

Future<BtcConnection> connect({
  required String address,
  String uuid = BtcUuid.spp,
  bool secure = true,
}) {
  throw UnimplementedError('connect() has not been implemented.');
}