customCommandWithConfiguration method

Future<Uint8List> customCommandWithConfiguration({
  1. required int manufacturerCode,
  2. required int customCommandCode,
  3. required Uint8List customRequestParameters,
  4. required Iso15693CommandConfiguration configuration,
})

As customCommand, with the retries configuration asks for and an explicit manufacturerCode in place of the tag's own icManufacturerCode.

Carries the same legacy-entitlement caveat as readMultipleBlocksWithConfiguration, so customCommand is the route that always works.

manufacturerCode and customCommandCode must each fit a byte -- Apple documents them as 0x00-0xFF and 0xA0-0xDF -- and are refused the same way customCommand refuses a code that is not one.

Implementation

Future<Uint8List> customCommandWithConfiguration({
  required int manufacturerCode,
  required int customCommandCode,
  required Uint8List customRequestParameters,
  required Iso15693CommandConfiguration configuration,
}) => iosApi.iso15693CustomCommandWithConfiguration(
  _handle,
  manufacturerCode,
  customCommandCode,
  customRequestParameters,
  configuration._toWire(),
);