keyUpdate method

Future<Iso15693Response> keyUpdate({
  1. required Set<Iso15693RequestFlag> requestFlags,
  2. required int keyIdentifier,
  3. required Uint8List message,
})

Replaces the key keyIdentifier names (0x36).

message follows the crypto suite the preceding authenticate agreed on, so this only means anything after one. keyIdentifier is one byte, refused outside 0-255 the way authenticate refuses a crypto suite that is not one.

Implementation

Future<Iso15693Response> keyUpdate({
  required Set<Iso15693RequestFlag> requestFlags,
  required int keyIdentifier,
  required Uint8List message,
}) async => _response(await iosApi.iso15693KeyUpdate(_handle, _flags(requestFlags), keyIdentifier, message));