move more profiles (gsm_r, cmda_ruim) to pySim.profile

Change-Id: Id86aa67e70f2a667d9c70ba51e07f653990adaa4
This commit is contained in:
Harald Welte
2024-09-19 08:28:31 +02:00
parent d15c3d1319
commit 53e840ad86
15 changed files with 24 additions and 25 deletions

View File

@@ -16,7 +16,7 @@ from pySim.legacy.ts_51_011 import EF, DF
from pySim.legacy.ts_31_102 import EF_USIM_ADF_map
from pySim.legacy.ts_31_103 import EF_ISIM_ADF_map
from pySim.ts_51_011 import EF_AD, EF_SPN
from pySim.profile.ts_51_011 import EF_AD, EF_SPN
def format_addr(addr: str, addr_type: str) -> str:
"""

View File

@@ -148,7 +148,7 @@ def dec_st(st, table="sim") -> str:
from pySim.ts_31_102 import EF_UST_map
lookup_map = EF_UST_map
else:
from pySim.ts_51_011 import EF_SST_map
from pySim.profile.ts_51_011 import EF_SST_map
lookup_map = EF_SST_map
st_bytes = [st[i:i+2] for i in range(0, len(st), 2)]