santigimeno / node-pcsclite

Bindings over pcsclite to access Smart Cards
ISC License
170 stars 125 forks source link

Add a `ISO7816transmit` function close to the core implementation #73

Open martinpaljak opened 7 years ago

martinpaljak commented 7 years ago

One functionality smart card developers need to implement on top of PC/SC style "BIBO" (Bytes-In, Bytes-Out) interface is often ISO 7816-4 based T=0 response handling for 6CXX (GET RESPONSE) and 61XX (fixed Le) handling. So instead of making another 20 line npm module for the usability improvement, it would be great if the functionality was traight in node-pcsclite, for those small scritps that build straight on top of node-pcsclite and do not want/need some heavier layer above it. Will make a PR if that sounds reasonable.

santigimeno commented 7 years ago

@martinpaljak yes, please :)