WebSocket Commands PCSC PCSC Readers
April 13, 2023 at 2:39 AMList PC/SC readers
Role
Return the list of PC/SC readers (not only SpringCard’s) currently attached to the computer.
Prototype
Method : pcsc.readers
Params : None
Example
--> { "jsonrpc": "2.0", "id": 1,
"method":"pcsc.readers",
"params": {}
}
Success
Result :
This object contains two arrays.
The Names
array contains the list of PC/SC reader Names.
The ReaderIds
array contains the list of PC/SC reader Ids.
Both arrays have matching indexes, i.e. the first Name corresponds to the first Id, and so on.
Example
<-- { "jsonrpc": "2.0", "id": 1,
"result": {
"Names":
[
"SpringCard Prox'N'Roll Contactless 0",
"SpringCard Prox'N'Roll Contactless 1"
],
"ReaderIds":
[
"6aiBfYtd_3vVQMrj-EqhRg",
"OSaSdZIqWslpzqsFb2iSBA"
]
}
}