mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-28 16:28:33 +03:00
Add API + shell command for sending TERMINAL PROFILE to card
This allows a very first start to play with PROACTIVE SIM Change-Id: Id8f23f7cebe0f9efce2c0ce4229509f35cd93d6a
This commit is contained in:
@@ -1084,6 +1084,10 @@ class ADF_USIM(CardADF):
|
||||
(data, sw) = self._cmd.card._scc.authenticate(opts.rand, opts.autn)
|
||||
self._cmd.poutput_json(data)
|
||||
|
||||
def do_terminal_profile(self, arg):
|
||||
"""Send a TERMINAL PROFILE command to the card."""
|
||||
(data, sw) = self._cmd.card._scc.terminal_profile(arg)
|
||||
self._cmd.poutput('SW: %s, data: %s' % (sw, data))
|
||||
|
||||
|
||||
# TS 31.102 Section 7.3
|
||||
|
||||
Reference in New Issue
Block a user