create pySim.legacy.ts_51_011.py and move legacy code there

Those old flat dicts indicating FID to string-name mapping have long
been obsoleted by the pySim.filsystem based classes.

Change-Id: I20ceea3fdb02ee70d8c8889c078b2e5a0f17c83b
This commit is contained in:
Harald Welte
2023-07-09 22:14:09 +02:00
parent a3961298ef
commit 57ad38e661
5 changed files with 263 additions and 233 deletions

View File

@@ -38,7 +38,8 @@ from pySim.commands import SimCardCommands
from pySim.transport import init_reader
from pySim.legacy.cards import _cards_classes, card_detect
from pySim.utils import h2b, swap_nibbles, rpad, derive_milenage_opc, calculate_luhn, dec_iccid
from pySim.ts_51_011 import EF, EF_AD
from pySim.ts_51_011 import EF_AD
from pySim.legacy.ts_51_011 import EF
from pySim.card_handler import *
from pySim.utils import *