laforge has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/pysim/+/37485?usp=email )


Change subject: pySim.commands: Check return value of TERMINAL PROFILE command
......................................................................

pySim.commands: Check return value of TERMINAL PROFILE command

Change-Id: Iaede74caf22970869c2c85b42d1e6f70d52c65cb
---
M pySim/commands.py
1 file changed, 10 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/85/37485/1

diff --git a/pySim/commands.py b/pySim/commands.py
index c0ac1d7..40b0980 100644
--- a/pySim/commands.py
+++ b/pySim/commands.py
@@ -759,7 +759,7 @@
                 payload : payload as hex string
         """
         data_length = len(payload) // 2
-        data, sw = self.send_apdu(('80100000%02x' % data_length) + payload)
+        data, sw = self.send_apdu_checksw(('80100000%02x' % data_length) + 
payload)
         return (data, sw)

     # ETSI TS 102 221 11.1.22

--
To view, visit https://gerrit.osmocom.org/c/pysim/+/37485?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Iaede74caf22970869c2c85b42d1e6f70d52c65cb
Gerrit-Change-Number: 37485
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <[email protected]>
Gerrit-MessageType: newchange

Reply via email to