tests: Fix for card readers.

This commit is contained in:
NIIBE Yutaka
2018-01-09 09:39:42 +09:00
parent 4e517778d0
commit 4ff0b3c5f8
2 changed files with 7 additions and 2 deletions

View File

@@ -179,8 +179,8 @@ class CardReader(object):
# TPDU reader configuration
self.ns = 0
self.nr = 0
# For Gemalto USB GemPC Pinpad SmartCard Reader
if self.__dev.idVendor == 0x08E6 and self.__dev.idProduct == 0x3478:
# For Gemalto's SmartCard Reader(s)
if self.__dev.idVendor == 0x08E6:
# Set PPS
pps = b"\xFF\x11\x18\xF6"
status, chain, ret_pps = self.ccid_send_data_block(pps)