Change in pysim[master]: Implement Generic SIM Access interface as per 3GPP TS 27.007

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

guilly@gmail.com gerrit-no-reply at lists.osmocom.org
Tue Jun 2 12:55:13 UTC 2020


guilly at gmail.com has posted comments on this change. ( https://gerrit.osmocom.org/c/pysim/+/18159 )

Change subject: Implement Generic SIM Access interface as per 3GPP TS 27.007
......................................................................


Patch Set 5:

(1 comment)

> Patch Set 5: Verified+1
> 
> Build Successful 
> 
> https://jenkins.osmocom.org/jenkins/job/gerrit-pysim/540/ : SUCCESS'  --verified 1 --code-review 0

I can test this in other Quectel modules, have quite a few :-)
At the moment, using a BG96, which is where having the ability to read the SIM files is definitely useful for debugging

https://gerrit.osmocom.org/c/pysim/+/18159/5/pySim/transport/modem_atcmd.py 
File pySim/transport/modem_atcmd.py:

https://gerrit.osmocom.org/c/pysim/+/18159/5/pySim/transport/modem_atcmd.py@50 
PS5, Line 50: 		if type(cmd) is str:
there is a problem here if cmd is not a string, as it's not initiliased.
I solved by doing by adding to this if
 	else:
        	bcmd = cmd.encode()
Not sure if it's the right way to do it, though. Don't fully get why you used str.encode instead of cmd, I thought the purpouse of this was to turn the string into bytes?



-- 
To view, visit https://gerrit.osmocom.org/c/pysim/+/18159
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I20bc00315e2c7c298f46283852865c1416047bc6
Gerrit-Change-Number: 18159
Gerrit-PatchSet: 5
Gerrit-Owner: Vadim Yanitskiy <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Vadim Yanitskiy <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-CC: guilly at gmail.com <guilly at gmail.com>
Gerrit-Comment-Date: Tue, 02 Jun 2020 12:55:13 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200602/39221467/attachment.htm>


More information about the gerrit-log mailing list