Mobile app hangs depending on SIM

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/baseband-devel@lists.osmocom.org/.

francoip francoip at stud.ntnu.no
Mon Feb 16 15:06:20 UTC 2015


Hello list,

I'm playing with the mobile application of OsmocomBB. I have two SIM 
cards of
two different operators. Everything works fine with one of them, but it 
doesn't
with the other one.

Layer1 hangs there:
SIM Request (7): a0 a4 00 00 02 6f 30
SIM Response (2): 9f 0f
SIM Request (5): a0 c0 00 00 0f
SIM Response (17): 00 00 00 f6 6f 30 04 00 11 ff ff 01 02 00 00 90 00
SIM Request (5): a0 b0 00 00 f6

and mobile hangs there:
<0005> subscriber.c:600 Requesting SIM file 0x6f30
<000f> sim.c:209 got new job: SIM_JOB_READ_BINARY (handle=00000004)
<000f> sim.c:241 SELECT (file=0x6f30)
<000f> sim.c:187 sending APDU (class 0xa0, ins 0xa4)
<000f> sim.c:876 received APDU (len=0 sw1=0x9f sw2=0x0f)
<000f> sim.c:949 command successfull
<000f> sim.c:571 GET RESPONSE (len=15)
<000f> sim.c:187 sending APDU (class 0xa0, ins 0xc0)
<000f> sim.c:876 received APDU (len=15 sw1=0x90 sw2=0x00)
<000f> sim.c:949 command successfull
<000f> sim.c:1065 selected file (len 246)
<000f> sim.c:277 READ BINARY (offset=0 len=246)
<000f> sim.c:187 sending APDU (class 0xa0, ins 0xb0)

So, as I understand it, it tries to read the PLMN selectors from SIM but 
does
not get any answer and the callback function is not called.

Also, when using the command "off", everything shuts down with the first 
SIM,
but I have to use ctrl-c for the second one after mobile hangs here:
<000f> sim.c:1234 exit SIM client

I have the last versions of libosmocore and osmocom-bb in the master 
branch,
and I enabled TX support. I also tried to set my IMEI in the mobile.cfg 
file
but this does not change anything. The config file is joined as well.

Did I forget something? Do you have an idea?

Thank you!



More information about the baseband-devel mailing list