pySim-shell: Authenticate (3g) support
This adds support for AUTHENTICATE to the USIM and ISIM application,
based on the newly-introduced 'construct' encoder/decoder support.
Change-Id: Id5697463e29c3dceff98bcf80f5400f7f2bcaa6c
diff --git a/pySim/ts_31_103.py b/pySim/ts_31_103.py
index 8209845..effdbf7 100644
--- a/pySim/ts_31_103.py
+++ b/pySim/ts_31_103.py
@@ -25,6 +25,7 @@
from pySim.filesystem import *
from pySim.utils import *
from pySim.ts_51_011 import EF_AD
+from pySim.ts_31_102 import ADF_USIM
import pySim.ts_102_221
# Mapping between ISIM Service Number and its description
@@ -186,6 +187,8 @@
EF_WebRTCURI(),
]
self.add_files(files)
+ # add those commands to the general commands of a TransparentEF
+ self.shell_commands += [ADF_USIM.AddlShellCommands()]
def decode_select_response(self, data_hex):
return pySim.ts_102_221.decode_select_response(data_hex)