* Sim plug-and-play
@ 2012-09-05 11:38 Cornel Spinu
2012-09-05 12:51 ` Denis Kenzior
0 siblings, 1 reply; 4+ messages in thread
From: Cornel Spinu @ 2012-09-05 11:38 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 429 bytes --]
Hi,
I'm using ofono 0.48 with a cinterion modem and I want enable an plug-and-play
sim. Basically when I insert a sim into the modem, I want to do an pin check and
then continue with other procedures. I was think of creating a notify function
when AT^SCKS function returns 1 (sim inserted). The thing is I dont know where
to capture the response from that command. Can anyone give me a suggetion?
Thank you,
Cornel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Sim plug-and-play
2012-09-05 11:38 Sim plug-and-play Cornel Spinu
@ 2012-09-05 12:51 ` Denis Kenzior
2012-09-05 13:03 ` Cornel Spinu
0 siblings, 1 reply; 4+ messages in thread
From: Denis Kenzior @ 2012-09-05 12:51 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 876 bytes --]
Hi Cornel,
On 09/05/2012 06:38 AM, Cornel Spinu wrote:
> Hi,
>
> I'm using ofono 0.48 with a cinterion modem and I want enable an plug-and-play
That version is over a year old, I strongly suggest using something much
more recent.
> sim. Basically when I insert a sim into the modem, I want to do an pin check and
> then continue with other procedures. I was think of creating a notify function
> when AT^SCKS function returns 1 (sim inserted). The thing is I dont know where
I'm not really sure what you're asking, you'll have to provide more
details. What does AT^SCKS do? Is that an unsolicited notification or
something you have to poll?
> to capture the response from that command. Can anyone give me a suggetion?
>
You can see an example of how SIM hot-swap is implemented in e.g.
plugins/ifx.c. Just grep for XSIM.
Regards,
-Denis
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Sim plug-and-play
2012-09-05 12:51 ` Denis Kenzior
@ 2012-09-05 13:03 ` Cornel Spinu
2012-09-06 7:26 ` Cornel Spinu
0 siblings, 1 reply; 4+ messages in thread
From: Cornel Spinu @ 2012-09-05 13:03 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 209 bytes --]
Hi Denis,
Thank you for your reply.
I will look into ifx.c as an example, try to implement
something like that on cinterion side,
and return with a response with my progress.
Thanks,
Cornel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Sim plug-and-play
2012-09-05 13:03 ` Cornel Spinu
@ 2012-09-06 7:26 ` Cornel Spinu
0 siblings, 0 replies; 4+ messages in thread
From: Cornel Spinu @ 2012-09-06 7:26 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 538 bytes --]
Cornel Spinu <cornel.spinu@...> writes:
>
> Hi Denis,
>
> Thank you for your reply.
> I will look into ifx.c as an example, try to implement
> something like that on cinterion side,
> and return with a response with my progress.
>
> Thanks,
> Cornel
>
>
I've done the implemention based on that example. Everything seems to be working
good. Only issue left is that sometimes i get sim busy, but this is related to
the external sim holder i am using. due to the low connection speed.
Thank you,
Cornel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-09-06 7:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-05 11:38 Sim plug-and-play Cornel Spinu
2012-09-05 12:51 ` Denis Kenzior
2012-09-05 13:03 ` Cornel Spinu
2012-09-06 7:26 ` Cornel Spinu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.