Author Topic: USIM Card Writing?  (Read 8837 times)

gregarican

  • Newbie
  • *
  • Posts: 4
    • View Profile
USIM Card Writing?
« on: May 03, 2018, 06:53:41 AM »
I have a working installation of YateBTS on my Raspberry Pi 3 Model B. While attempting to write a SIM card, I have tried the various SIM card options, but each of them fail. The "RuntimeError: SW match failed ! Expected ..." type error messages are what I get. When I run pcsc_scan from the command line, the following card manufacturer is returned:

3B 9F 95 80 1F C3 80 31 E0 73 FE 21 13 57 86 81 02 86 98 44 18 A8
   GREEN CARD, Grcard (Hong Kong ) Co.,Limited, LTE Usim Card (Telecommunication)
   Celcom Postpaid 3G (Telecommunication)

This info is also present in my /usr/share/pcsc/smartcard_list.txt file. I manually copied over this file from https://raw.githubusercontent.com/LudovicRousseau/pcsc-tools/master/smartcard_list.txt.

What is the best way I can write to these cards? Here is where I sourced the card from --> https://www.aliexpress.com/item/Piswords-SIM-USIM-Card-4G-LTE-WCDMA-GSM-Blank-Mini-Nano-micro-writable-programable-SIM-Card/32808269061.html?spm=a2g0s.9042311.0.0.gM4xuK. If these appear to be WCDMA LTE type cards is that why they are failing?


gregarican

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: USIM Card Writing?
« Reply #1 on: May 03, 2018, 06:56:42 AM »
My YateBTS implementation is based on a RPi image I deployed from here --> https://mbro95.github.io/PortableCellNetwork/. Just to help provide additional details...

gregarican

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: USIM Card Writing?
« Reply #2 on: May 03, 2018, 08:38:01 AM »
Final question  :)

Would a SIM card like this be more compatible under my YateBTS implementation?

http://shop.sysmocom.de/products/sysmousim-sjs1


gregarican

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: USIM Card Writing?
« Reply #3 on: May 03, 2018, 11:58:42 AM »
Looking for programmable SIM cards that are supported in the later versions of pysim, I saw this card listed --> https://open-cells.com/index.php/sim-cards/. So I ordered a couple, will update my pysim that was bundled with my YateBTS deployment, and see if they are able to work.