Daniel Willmann
677d41bb41
Remove unnecessary semicolon
...
Change-Id: I9c5665cd2a45a0d06444349eaaeeb5b83a09ffc1
2020-10-19 10:34:31 +02:00
Vadim Yanitskiy
99affe1529
Py2 -> Py3: use the floor division operator // where possible
...
In Python 3, traditional division operator returns a float,
while we need a floor integer in the most cases.
Change-Id: I5565eb64a1ddea7075cbb142eaacaa5d494c87bb
2020-02-15 19:11:50 +00:00
Vadim Yanitskiy
6727f0c02c
Fix compatibility with Python 3: print() is a function
...
Change-Id: I5dd8e5daf420fc8667c5156bfacc8763d8895993
2020-02-14 22:46:38 +07:00
Martin Hauke
6cbecaaf5c
transport/serial: Fix serial transport
...
Fix a typo that broke the serial transport.
Change-Id: I7fcc97d505a5369f9f14d4a2abda92b7114a58cd
2018-02-18 17:04:50 +01:00
Alexander Chemeris
d2d660a935
Add methods to get ATR for a card or a link.
...
Implemented for both serial and PCSC readers.
Change-Id: Ic12e4b115d24a8b7e483a5603dd6cec90ad289cc
2018-01-10 17:12:10 +09:00
Sylvain Munaut
bdca252fb0
transport: Change transport api to allow for wait_for_card/connect/disconnect
...
This way, we can re-use the same transport parameters for several
cards for a future batch mode
Signed-off-by: Sylvain Munaut <tnt@246tNt.com >
2010-12-09 13:31:58 +01:00
Sylvain Munaut
e7c15cd088
transport: Put common methods in LinkBase class
...
Signed-off-by: Sylvain Munaut <tnt@246tNt.com >
2010-12-07 10:01:55 +01:00
Sylvain Munaut
76504e0a6e
Split all things into a more "library-like" package
...
Signed-off-by: Sylvain Munaut <tnt@246tNt.com >
2010-12-07 00:24:32 +01:00