Renamed ./src/external to ./src/extensions. No code logic changes. (0.40.5)
This commit is contained in:
parent
529acb77b1
commit
bb704a3778
25 changed files with 81 additions and 414 deletions
36
web/documentation/extensions/pcsc/pcsc.md
Normal file
36
web/documentation/extensions/pcsc/pcsc.md
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
---
|
||||
layout: page
|
||||
published: true
|
||||
noToc: false
|
||||
noComments: false
|
||||
noDate: false
|
||||
title: Fun - PC/SC (smart cards) extension (optional)
|
||||
subtitle: Documentation for PC/SC (smart cards) extension (optional)
|
||||
description: Documentation for PC/SC (smart cards) extension (optional)
|
||||
permalink: /documentation/extensions/pcsc/
|
||||
lang: en
|
||||
tags:
|
||||
- cards
|
||||
- extension
|
||||
- optional
|
||||
- smart
|
||||
---
|
||||
|
||||
|
||||
- CMake option: FUN_WITH_PCSC=ON
|
||||
- Purpose: Access smart card readers/cards via PC/SC (pcsclite).
|
||||
- Homepage: [https://pcsclite.apdu.fr/](https://pcsclite.apdu.fr/){:class="ext"}
|
||||
|
||||
## Opcodes:
|
||||
|
||||
- OP_PCSC_ESTABLISH: returns context id (>0) or 0
|
||||
- OP_PCSC_RELEASE: pops ctx id; returns 1/0
|
||||
- OP_PCSC_LIST_READERS: pops ctx id; returns array of reader names
|
||||
- OP_PCSC_CONNECT: pops reader, ctx id; returns handle (>0) or 0
|
||||
- OP_PCSC_DISCONNECT: pops handle id; returns 1/0
|
||||
- OP_PCSC_TRANSMIT: pops apdu, handle id; returns map with data/SW/rc
|
||||
|
||||
## Notes:
|
||||
|
||||
- Requires PC/SC lite development headers/libs.
|
||||
- Behavior and availability depend on platform and reader drivers.
|
||||
Loading…
Add table
Add a link
Reference in a new issue