Contents

customCommand(requestFlags:customCommandCode:customRequestParameters:completionHandler:)

Sends a custom command (0xA0 to 0xDF command code), as defined in the ISO 15693-3 specification, to the tag.

Declaration

func customCommand(requestFlags flags: NFCISO15693RequestFlag, customCommandCode: Int, customRequestParameters: Data, completionHandler: @escaping  @Sendable (Data, (any Error)?) -> Void)
func customCommand(requestFlags flags: NFCISO15693RequestFlag, customCommandCode: Int, customRequestParameters: Data) async throws -> Data

Discussion

This method inserts the icManufacturerCode after the command byte before appending the customRequestParameters when constructing the data packet that the method sends to the tag.