Closed fasferraz closed 3 years ago
Maybe you can try osmocom office tool pysim https://github.com/osmocom/pysim
Thank you for reporting Fabricio. I can see some changes (probably bugfixes) in the card/{ICC.py, USIM.py, utils.py} files, from https://github.com/sysmocom/sysmo-usim-tool/commit/8dd52e04ac5abbb56c8e3168d36486ce6db3d42e#diff-18bdfd456cc9bae99d99f9de1dfaf618c2cf1d4a1289a8dc8abfbc56959ce836
I need to investigate further and will commit some patches next week. And true for pysim : the osmocom library has received numerous contributions in the last months, is nicely documented, and should work great with all the sysmocom cards.
I just pushed some little fixes and enhancement: I hope this to solve your error. Do a fresh checkout, retry and let me know how it goes.
Hi @mitshell Problem solved! Thanks!
I use this module in some applicatons i have done, and I was trying to use it with sysmocom ISIM, and when i try to select USIM application to read the IMSI or to do an authenticate operation, it fails:
root@ubuntu:/home/fabricio/Documents#python3 Python 3.8.10 (default, Jun 2 2021, 10:49:15) [GCC 9.4.0] on linux Type "help", "copyright", "credits" or "license" for more information.
Using this slightly modified version https://github.com/sysmocom/sysmo-usim-tool/tree/master/card it works:
root@ubuntu:/home/fabricio/Documents# cd sysmo-usim-tool/ root@ubuntu:/home/fabricio/Documents/sysmo-usim-tool# python3 Python 3.8.10 (default, Jun 2 2021, 10:49:15) [GCC 9.4.0] on linux Type "help", "copyright", "credits" or "license" for more information.