Get PC/SC reader data

Role

Return the current state of a PC/SC reader.

Prototype

Method : pcsc.reader.{$id}

where {$id} is the ReaderId, as found from an earlier call to the List PC/SC readers method.

Params :

Field Description
Token Token given when connected to the card (optional)

The token optional and is useful to known if the reader is associated with it or not.

Example

--> { "jsonrpc": "2.0", "id": 1,
		"method": "pcsc.reader.mvQ5w5-6ZUbGfl76Q6w-lw",
		"params": {
			"Token": "0AAZZevyX99hu1Py0Suib6"
		}
    }

Success

Result : a PCSC_READER object. This is the very same object as the one used by the REST API.

Example

<-- { "jsonrpc": "2.0", "id": 1,
		"result": {
			"Id": "mvQ5w5-6ZUbGfl76Q6w-lw",
			"ParentDeviceId": "tGEOILzZVpPHP3eYg_EdXA",
			"Name": "SpringCard Prox'N'Roll Contactless 0",
			"SerialNumber": "D59CD763",
			"VendorName": "SpringCard",
			"ProductName": "Prox'N'Roll",
			"SlotName": "Contactless",
			"Status": "empty",
			"Error": false,
			"Present": false,
			"InUse": false
		}
    }