Open Source Telephony
 help / color / mirror / Atom feed
From: Ryan Raasch <ryan.raasch@gmail.com>
To: ofono@ofono.org
Subject: Re: SIM PIN unlock
Date: Mon, 26 Oct 2009 17:57:09 +0100	[thread overview]
Message-ID: <4AE5D4E5.60602@gmail.com> (raw)
In-Reply-To: <200910261106.42520.denkenz@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1839 bytes --]



Denis Kenzior wrote:
> Hi Ryan,
> 
>> Hello,
>>
>> I have noticed a difference of ofono on startup. If the PIN number is
>> not required, the daemon never gets past CRSM query, and the remaining
>> interfaces are not added.
> 
> This works fine for other devices.  I would enable at command debugging (export 
> OFONO_AT_DEBUG=1) and watch for any signs of breakage.  The MC75 is known to 
> have a very bad AT command implementation that might be confusing the AT 
> parser.
> 

It seems that if the sim card is unlocked, then the remaining 
"cascading" functions are not called.

query_manufacturer(info);

Got SIM READY

NOT CALLED...
   	query_model(info);
	query_revision(info);
	query_serial(info);


ofonod[3965]: src/sim.c:ofono_sim_add_ready_watch() 0x8eb15b0
ofonod[3965]: src/sim.c:ofono_sim_add_ready_watch() 0x8eb15b0
ofonod[3965]: > AT+CGMI\r
ofonod[3965]: < AT+CGM
ofonod[3965]: < I\r
ofonod[3965]: < \r\nSIEME
ofonod[3965]: < NS
ofonod[3965]: < \r\n\r\nOK\r\n
ofonod[3965]: attr_cb got result: 1
ofonod[3965]: Final response: OK
ofonod[3965]: Response line: SIEMENS
ofonod[3965]: > AT+CPIN?\r
ofonod[3965]: < AT+CPI
ofonod[3965]: < N?\r
ofonod[3965]: < \r\n+CPIN: READY\r\n\r\nO
ofonod[3965]: < K\r
ofonod[3965]: < \n
ofonod[3965]: at_cpin_cb got result: 1
ofonod[3965]: Final response: OK
ofonod[3965]: Response line: +CPIN: READY
ofonod[3965]: crsm_pin_cb: READY
ofonod[3965]: > AT+CRSM=192,28421\r
ofonod[3965]: < AT+CRSM=192
ofonod[3965]: < ,28
ofonod[3965]: < 421\r
ofonod[3965]: < \r\n+CRSM: 144,0,850D00046F05040001FFAA03020
ofonod[3965]: < 000\r\n\r\n
ofonod[3965]: < \r\nOK\r\n

Cheers,
Ryan

> Regards,
> -Denis
> _______________________________________________
> ofono mailing list
> ofono(a)ofono.org
> http://lists.ofono.org/listinfo/ofono

  reply	other threads:[~2009-10-26 16:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-26 12:59 SIM PIN unlock Ryan Raasch
2009-10-26 16:06 ` Denis Kenzior
2009-10-26 16:57   ` Ryan Raasch [this message]
2009-10-26 17:45     ` Andrzej Zaborowski
2009-10-27 15:45       ` Ryan Raasch
2009-10-27 16:10         ` Denis Kenzior
2009-10-28 14:17           ` Ryan Raasch
2009-10-28 21:26             ` Denis Kenzior

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AE5D4E5.60602@gmail.com \
    --to=ryan.raasch@gmail.com \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox