← Back to SmartCardEmulation domain

SmartCardEmulation.reportListReadersResult

Reports the successful result of a |SCardListReaders| call. This maps to: PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga93b07815789b3cf2629d439ecf20f0d9 Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardlistreadersa

Domain: SmartCardEmulation experimental

Parameters

NameTypeDescription
requestIdstring
readersarray

Example Request

{
  "id": 1,
  "method": "SmartCardEmulation.reportListReadersResult",
  "params": {
    "requestId": "request-1",
    "readers": []
  }
}

Example Response

{
  "id": 1,
  "result": {}
}

Usage in Node.js

const result = await send('SmartCardEmulation.reportListReadersResult', {"requestId": "request-1", "readers": []});
console.log(result);