added IOCTL_CCID_ESCAPE constant to reader object to support escape command

This commit is contained in:
Martin Endler
2016-11-17 23:52:27 +01:00
parent 198c892f34
commit 114f8372a1
5 changed files with 11 additions and 12 deletions

View File

@@ -2,7 +2,7 @@
const EventEmitter = require('events');
const pcsclite = require('bindings')('pcsclite');
const {PCSCLite, CardReader} = pcsclite;
const { PCSCLite, CardReader } = pcsclite;
inherits(PCSCLite, EventEmitter);
@@ -71,7 +71,7 @@ module.exports = function () {
return r.emit('error', err);
}
const status = {state: state};
const status = { state: state };
if (atr) {
status.atr = atr;