Commit Graph

4 Commits

Author SHA1 Message Date
Philipp Maier a767cec4d0 card: re-add capability to find USIM cards by ATR
de31d9f88b removes the ability to select
USIM cards by specifiying their ATR. This feature is needed to
properly distinguish symo-usim-sjs1 and sysmo-isim-sja2 from other
cards.
2020-09-10 22:45:39 +02:00
Harald Welte de31d9f88b Sync 'card' library with upstream
This reflects 2a81963790e27eb6b188359af169c45afb6d3aaf of
https://github.com/mitshell/card.git
2020-08-31 14:36:42 +02:00
Philipp Maier ed0c9ab4dc ICC: recognize card by its ATR
When working in an environment with multiple card terminals, then it
might be helpful to make sure that only the intended target simcard
(sysmo-usim-sjs1) is accessed.

- Add atr parameter to the ICC, SIM and USIM classes. When no atr
  is given, then ICC will pick any card as it was before

- Make sure to pass the ATR when the sim object is created

Change-Id: I874aae92d29a7e1051e4cebefd85592c5fb78a2e
Related: OS#3376
2018-07-04 15:10:23 +02:00
Harald Welte 4086758393 Import slightly modified version of mitshell/card
the modifications can be found in https://github.com/mitshell/card/pull/2
and I wouuld hope that once Benoit has merged this we can remove the
local copy here and simply rely on pypi pulling it from the repo.
2017-08-16 21:14:44 +02:00