aboutsummaryrefslogtreecommitdiffstats
path: root/pySim-shell.py
diff options
context:
space:
mode:
authorVadim Yanitskiy <fixeria@osmocom.org>2023-04-22 20:45:29 +0700
committerlaforge <laforge@osmocom.org>2023-05-10 00:14:13 +0000
commit87dd020d5fbcfadb994d5c808868ee6a0d178fe6 (patch)
tree8bdda7692f295a91b4831a0ca8ec370b0ce2b1d1 /pySim-shell.py
parent6b19d802294159589ff0fe44fb74b9c03b92d638 (diff)
Add very basic profile for R-UIM (CDMA) cards
R-UIM (CDMA) cards are pretty much like the normal GSM SIM cards and "speak" the same 2G APDU protocol, except that they have their own file hierarchy under MF(3f00)/DF.CDMA(7f25). They also have DF.TELECOM(7f10) and even DF.GSM(7f20) with a limited subset of active EFs. The content of DF.CDMA is specified in 3GPP2 C.S0023-D. This patch adds a very limited card profile for R-UIM, including auto- detecion and a few EF definitions under DF.CDMA. This may be useful for people willing to explore or backup their R-UIMs. To me this was useful for playing with an R-UIM card from Skylink [1] - a Russian MNO, which provided 450 MHz CDMA coverage until 2016. [1] https://en.wikipedia.org/wiki/Sky_Link_(Russia) Change-Id: Iacdebdbc514d1cd1910d173d81edd28578ec436a
Diffstat (limited to 'pySim-shell.py')
-rwxr-xr-xpySim-shell.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pySim-shell.py b/pySim-shell.py
index d09b45a..bf97b6f 100755
--- a/pySim-shell.py
+++ b/pySim-shell.py
@@ -44,6 +44,7 @@ from pySim.card_handler import CardHandler, CardHandlerAuto
from pySim.filesystem import RuntimeState, CardDF, CardADF, CardModel
from pySim.profile import CardProfile
+from pySim.cdma_ruim import CardProfileRUIM
from pySim.ts_102_221 import CardProfileUICC
from pySim.ts_102_222 import Ts102222Commands
from pySim.ts_31_102 import CardApplicationUSIM