JSON Messages

Everytime the Smart Reader reads a tag (contactless card, NFC tag or RFID label, data coming from a BLE token...), it sends to the listening host(s) a JSON message, formatted as follow:

{
	"Interface":"13.56",
	"Protocol":"NFC-A",
	"Template":1,
	"TagId":"047DAE02C84080",
	"State":"Insert",
	"TagData":"00047DAE02C84080",
	"Uptime":"699:16.850"
}

Fields in the JSON message

Field Format Description
Interface Text Which interface has read the token? See Interfaces for details.
Protocol Text Protocol used to read the token. See Protocols for details.
Template Integer Template used to read the token.
RSSI Integer RSSI of the token, if this data is available (BLE and RFID UHF).
TagId Text Identifier of the token (output of the Smart Reader template). See TagId for details.
State "Insert", "Removed" Tells whether the token is Inserted ("I"), Removed ("R") or has just made a short apparition (inserted+removed, hence "IR"). The field is empty if the Smart Reader is not configured to track the movements of the tokens.
TagData Text Some token-specific data than the Smart Reader template may provide in some situation (for instance the status of a tamper for some NFC tags, the advertising data in BLE spy mode, ...). See TagData for details.
TagDetails Text Some advanced token-specific data than the Smart Reader template may provide in some situation (for instance scan response data in BLE spy mode, ...). See TagDetails for details.