---
title: "writeDSFID(requestFlags:dsfid:completionHandler:)"
framework: corenfc
role: symbol
role_heading: Instance Method
path: "corenfc/nfciso15693tag/writedsfid(requestflags:dsfid:completionhandler:)"
---

# writeDSFID(requestFlags:dsfid:completionHandler:)

Sends the Write DSFID command (0x29 command code), as defined in the ISO 15693-3 specification, to the tag.

## Declaration

```swift
func writeDSFID(requestFlags flags: NFCISO15693RequestFlag, dsfid: UInt8, completionHandler: @escaping @Sendable ((any Error)?) -> Void)
```

```swift
func writeDSFID(requestFlags flags: NFCISO15693RequestFlag, dsfid: UInt8) async throws
```

## See Also

### Sending Data Storage Format Identifier Commands

- [lockDFSID(requestFlags:completionHandler:)](corenfc/nfciso15693tag/lockdfsid(requestflags:completionhandler:).md)
