NFC Interaction

Examples using NFC to interact with the DUT.

Detect

Example: Detect NTAG and check UID.

- ident: ICT-T1
  title: Detect NTAG
  steps:
  - command: nfc ntag-detect
    extractKey: NFC_UID
  - command: eval "NFC_UID == '5f4097d8de28ac'"

Write

Example: Program NDEF message with two text records.

- ident: ICT-T1
  title: Write NFC
  steps:
  - command: define CODE 123
  - command: nfc write NTAG213 text:"Sample Text" text:%CODE%

Commands