0

Unable to unlock SIM
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Unable to unlock SIM

by jensa on Fri Jun 12, 2015 4:23 pm

Hi,
I have a problem unlocking the SIM card using my most recent Fona modules. I have formerly done two other projects based on these and I never had a problem unlocking the SIM card. What is teh most interesting is that the function returns immediately. There is no delay as it usually is when unlocking a SIM. Any suggestions as to what may cause this?

Here's the output (with debug) that I get when running the FonaTest sketch.

Code: Select all | TOGGLE FULL SIZE
FONA> n
   ---> AT+CREG?
   <--- +CREG: 0,0
Network status 0: Not registered
FONA> U
Enter 4-digit PIN
1234
Unlocking SIM card: ***AT+CPIN=1234
***
   ---> AT+CPIN=1234
   <--- ERROR
Failed


The FM radio and reading info from the FONA works fine, but it|s impossible to unlock the SIM :(

jensa
 
Posts: 160
Joined: Wed Dec 21, 2011 9:35 pm

Re: Unable to unlock SIM

by adafruit_support_rick on Sat Jun 13, 2015 11:17 am

Your sim isn't registered with the network. Try holing down the KEY button for 20 seconds. Also, try removing the battery and power from the FONA, and then hooking it up again. Sometime, you have to cycle power on the fona a few times like that to get the network to register.

adafruit_support_rick
 
Posts: 35095
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: Unable to unlock SIM

by jensa on Sun Jun 14, 2015 1:16 pm

Thanks but this does not help.
I just noticed that the message "+CPIN: NOT INSERTED" does pop up a little after the menu shows in the FonaTest example. This is shown since I have turned on debug. I would presume this is significant? There is certainly a SIM card inserted...

jensa
 
Posts: 160
Joined: Wed Dec 21, 2011 9:35 pm

Re: Unable to unlock SIM

by jensa on Sun Jun 14, 2015 1:58 pm

There is actually several things that are a little odd about this module. When I read out both voltage and battery, it first returns an error and then returns the value:

Code: Select all | TOGGLE FULL SIZE
FONA> a
   ---> AT+CADC?
   <--- AT+CADC?
Failed to read ADC
FONA>
+CADC: 1,2245

OK


FONA> b
   ---> AT+CBC
   <--- AT+CBC
Failed to read Batt
   ---> AT+CBC
   <--- AT+CBC
Failed to read Batt
+CBFONA> C: 0,64,3914

OK


This is all quite incorrect? None of my other two FONA modules have ever behaved like this.

J

jensa
 
Posts: 160
Joined: Wed Dec 21, 2011 9:35 pm

Re: Unable to unlock SIM

by jensa on Sun Jun 14, 2015 2:09 pm

Ok. I drove to the office, picked up one of the other modules (order 674065-5055250640) and it works without any problems using the same SIM card. This is the exactly same FONA model (with a SMA connector) and it unlocked the card right away. I would say that indicates that the FONA module from order 793593-0907925457 is DOA?

I really need a working module, preferably by Tuesday (and I'm in Europe) so I ordered a new one with fastest possible delivery (order 809282-9335927571). Would you be able to refund me the defect module or do you want me to run more tests on it?

J

jensa
 
Posts: 160
Joined: Wed Dec 21, 2011 9:35 pm

Re: Unable to unlock SIM

by adafruit_support_rick on Sun Jun 14, 2015 2:15 pm

Please email support@adafruit.com with a link to this thread for a refund.

adafruit_support_rick
 
Posts: 35095
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: Unable to unlock SIM

by jensa on Mon Jul 20, 2015 8:42 am

Just wanted to check in and say that the new module worked perfectly.
Here's a video of the final installation: https://www.youtube.com/watch?v=_RAXMUN9D2k

jensa
 
Posts: 160
Joined: Wed Dec 21, 2011 9:35 pm

Re: Unable to unlock SIM

by adafruit_support_rick on Mon Jul 20, 2015 9:47 am

Great!

Nice kiosk - that was the FONA in there?

adafruit_support_rick
 
Posts: 35095
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: Unable to unlock SIM

by jensa on Mon Jul 20, 2015 11:17 am

Yup! The PC touchscreen app talks to the FONA via Serial :)

J

jensa
 
Posts: 160
Joined: Wed Dec 21, 2011 9:35 pm

Please be positive and constructive with your questions and comments.