NFC Interaction

Examples using NFC to interact with the DUT.

nfc ntag-detect Example

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'"

nfc write Example

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