deviceMaxApdu method

  1. @override
Future<int?> deviceMaxApdu(
  1. int deviceId
)
override

The maximum APDU deviceId accepts, from its address binding (null when the device is not bound yet; any request binds it).

Implementation

@override
Future<int?> deviceMaxApdu(int deviceId) async =>
    _bound.contains(deviceId) ? _devices[deviceId]?.maxApdu : null;