---
title: "customCommand(requestFlags:customCommandCode:customRequestParameters:completionHandler:)"
framework: corenfc
role: symbol
role_heading: Instance Method
path: "corenfc/nfciso15693tag/customcommand(requestflags:customcommandcode:customrequestparameters:completionhandler:)"
---

# 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

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

```swift
func customCommand(requestFlags flags: NFCISO15693RequestFlag, customCommandCode: Int, customRequestParameters: Data) async throws -> Data
```

## Discussion

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.
