Commit Graph

8 Commits

Author SHA1 Message Date
Ludovic Rousseau
266fdfa48f example: Made the script directly executable
Use a #! to start node on the script
2014-09-24 20:59:41 +02:00
Santiago Gimeno
44b0c3e479 example: connect with SHARED share_mode
- This way the example works both in Linux and OS X. See:
  https://github.com/santigimeno/node-pcsclite/issues/14#issuecomment-56665208
2014-09-24 16:15:11 +02:00
Santiago Gimeno
dbc0431295 example: fix connect callback log 2014-09-22 12:50:02 +02:00
Santiago Gimeno
3c8b2c9f4b src: add disposition parameter to disconnect 2014-08-06 12:06:17 +02:00
Santiago Gimeno
3cb970a04b Use the protocol parameter in CardReader.transmit
- We were simply hard-coding the T=0 protocol.
2013-10-16 17:03:18 +02:00
Santiago Gimeno
1f59246876 Improve example
- Call cardreader.connect on card insertion, cardreader.disconnect
  on card removal.
- It fixes bug #3.
2013-07-06 22:17:56 +02:00
Santiago Gimeno
3f2a1b5e4e CardReader status event should return the ATR
- Of the inserted card.
- Refactoring of the code that creates a Buffer instance into a
  separate function.
- Update the example and README
- It fixes bug #2
2013-07-05 17:25:18 +02:00
Santiago Gimeno
b40f9a2f88 Initial Implementation 2013-06-20 16:37:28 +02:00