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