createSerial method

  1. @override
BleSerial createSerial({
  1. required String serviceId,
  2. required String rxCharacteristicId,
  3. required String txCharacteristicId,
})
inherited

Implementation

@override
BleSerial createSerial({
  required String serviceId,
  required String rxCharacteristicId,
  required String txCharacteristicId,
}) {
  return BleSerial(
    characteristicRx: createCharacteristic(
        serviceId: serviceId, characteristicId: rxCharacteristicId),
    characteristicTx: createCharacteristic(
        serviceId: serviceId, characteristicId: txCharacteristicId),
  );
}