On Fri, 2012-12-07 at 07:22 +0100, Jonas Bonn wrote:
> Hi Denis,
> 
> On Tue, 2012-12-04 at 23:55 -0600, Denis Kenzior wrote:
> > Hi Jonas,
> > 
> > On 12/04/2012 09:46 AM, Jonas Bonn wrote:
> > > In offline state where CFUN=4, the Telit HE910 also powers down the SIM
> > > card so AT commands that query the SIM will fail.  These failures result
> > > in ofono not getting to POST_SIM state where it will export the GPRS
> > > feature.
> 
> > 
> > Does the HE910 have a proper CFUN mode where it does not turn off the 
> > SIM?  You are making some nasty hacks because of it, and the other Telit 
> > devices support this just fine.

With the above patch, after the modem is enabled (telit_enable()) we end
up with this from list-modems:

[ /telit_0 ]
    Features = sim 
    Emergency = 0
    Powered = 1
    Lockdown = 0
    Interfaces = org.ofono.VoiceCallManager org.ofono.SimManager 
    Online = 0
    Model = HE910
    Revision = 12.00.003
    Type = hardware
    Serial = 357164040533674
    Manufacturer = Telit
    [ org.ofono.VoiceCallManager ]
        EmergencyNumbers = 08 000 999 110 112 911 118 119 
    [ org.ofono.SimManager ]
        Retries = [pin2 = 3] [puk2 = 10] [pin = 3] [puk = 10] 
        FixedDialing = 0
        SubscriberNumbers = 
        BarredDialing = 0
        CardIdentifier = 89..............
        LockedPins = 
        PinRequired = none
        Present = 1

Without the patch we get the following:

[ /telit_0 ]
    Features = sim 
    Emergency = 0
    Powered = 1
    Lockdown = 0
    Interfaces = org.ofono.VoiceCallManager org.ofono.SimManager 
    Online = 0
    Model = HE910
    Revision = 12.00.003
    Type = hardware
    Serial = 357164040533674
    Manufacturer = Telit
    [ org.ofono.VoiceCallManager ]
        EmergencyNumbers = 08 000 999 110 112 911 118 119 
    [ org.ofono.SimManager ]
        Present = 0

In this state, Connman will never try to "online" the modem.

/Jonas

_______________________________________________
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono

Reply via email to