Skip to content

NFC & Smartcard Uplink Data

The device reports NFC tag activity and ISO7816 smartcard state in real time. Use a null request to poll the current values.

Key paths: devdata.nfc, devdata.iso7816

To request current values:

{
"devdata": {
"nfc": null,
"iso7816": null
}
}

Timestamp (in device ticks) of the last NFC tag read.

Configuration variables

  • Type: integer (ticks)
  • Sent on: NFC tag detection
{ "devdata": { "nfc": { "lastRead": 1704567890 } } }

true when a smartcard is physically inserted in the reader.

Configuration variables

  • Type: boolean
  • Sent on: Card insertion / removal
{ "devdata": { "iso7816": { "cardPresent": true } } }

Answer‑To‑Reset data received from the inserted card. Available after a successful getATR request or when the card is first inserted.

Configuration variables

  • Type: string (hex)
  • Sent on: Card insertion, after getATR downlink
{ "devdata": { "iso7816": { "atr": "3B8F8001804F0CA00000030603000100000000" } } }

Result log from a testCard request (devcfg.iso7816.testCard).

Configuration variables

  • Type: string
  • Sent on: After testCard command completes
{ "devdata": { "iso7816": { "testResult": "OK: 4FF card detected" } } }

Hex string response from the last cmd APDU sent via devcfg.iso7816.cmd.

Configuration variables

  • Type: string (hex)
  • Sent on: After APDU command completes
{ "devdata": { "iso7816": { "resp": "6A82" } } }