* ofono+connman he910
@ 2015-03-12 9:40 Alexey Mednyy
2015-03-12 16:46 ` Denis Kenzior
0 siblings, 1 reply; 2+ messages in thread
From: Alexey Mednyy @ 2015-03-12 9:40 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 1544 bytes --]
Is anybody here successfully using connman+ofono with Telit he910 modem?
Seems like connman using .set_online interface in ofono_modem_driver,
I've added set_online_ to he910 plugin. And everything works fine.
Except after set offline/set online sequence I can't activate gprs
context anymore.
Here is log:
Jan 9 14:32:51 yarus-ng daemon.info ofonod[138]: Modem: >
AT+CGDATA="PPP",1\r
Jan 9 14:32:51 yarus-ng daemon.info ofonod[138]: Modem: <
AT+CGDATA="PPP",1\r\r\nNO CARRIER\r\n
Jan 9 14:32:51 yarus-ng daemon.debug ofonod[138]:
drivers/atmodem/gprs-context.c:at_cgdata_cb() ok 0
Jan 9 14:32:51 yarus-ng daemon.info ofonod[138]: Unable to enter data state
Jan 9 14:32:51 yarus-ng daemon.debug ofonod[138]:
src/gprs.c:pri_activate_callback() 0x149318
Jan 9 14:32:51 yarus-ng daemon.debug ofonod[138]:
src/gprs.c:pri_activate_callback() Activating context failed with error:
Unknown error type
Jan 9 14:32:51 yarus-ng daemon.debug connmand[135]:
plugins/ofono.c:set_property_reply() /he910_0 path /he910_0/context1
org.ofono.ConnectionContext.Active
Jan 9 14:32:51 yarus-ng daemon.err connmand[135]: Failed to change
property: /he910_0/context1 org.ofono.ConnectionContext.Active:
org.ofono.Error.Failed Operation failed
AT+CREG? and AT+CGREG? normal answers
so modem registered in network and gprs context attached AT+CGATT=1...
What causes NO CARRIER answer of modem?
If necessary I can provide full log of connman/ofono...
--
_________________________________
Best regards, Mednyy Alexey.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ofono+connman he910
2015-03-12 9:40 ofono+connman he910 Alexey Mednyy
@ 2015-03-12 16:46 ` Denis Kenzior
0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2015-03-12 16:46 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 2214 bytes --]
Hi Alexey,
On 03/12/2015 04:40 AM, Alexey Mednyy wrote:
> Is anybody here successfully using connman+ofono with Telit he910 modem?
>
> Seems like connman using .set_online interface in ofono_modem_driver,
> I've added set_online_ to he910 plugin. And everything works fine.
> Except after set offline/set online sequence I can't activate gprs
> context anymore.
Why? The earlier firmware HE910 did not have a concept of 'Online'.
CFUN=1 triggered full functionality, while CFUN=4 disabled the SIM. So
for oFono's purposes, CFUN=4 was a powered down modem.
If the plugin does not provide .set_online, then oFono core assumes the
modem only supports Powered = False and { Powered = True, Online = True
}. { Powered = True, Online = False } mode is not possible to achieve.
I have no idea if ConnMan supports this setup.
I believe Telit made CFUN=4 only affect the TX/RX circuits in their
latest firmware, but my information might be a year or two out of date
and my memory may be faulty :)
> Here is log:
> Jan 9 14:32:51 yarus-ng daemon.info ofonod[138]: Modem: >
> AT+CGDATA="PPP",1\r
> Jan 9 14:32:51 yarus-ng daemon.info ofonod[138]: Modem: <
> AT+CGDATA="PPP",1\r\r\nNO CARRIER\r\n
> Jan 9 14:32:51 yarus-ng daemon.debug ofonod[138]:
> drivers/atmodem/gprs-context.c:at_cgdata_cb() ok 0
> Jan 9 14:32:51 yarus-ng daemon.info ofonod[138]: Unable to enter data state
> Jan 9 14:32:51 yarus-ng daemon.debug ofonod[138]:
> src/gprs.c:pri_activate_callback() 0x149318
> Jan 9 14:32:51 yarus-ng daemon.debug ofonod[138]:
> src/gprs.c:pri_activate_callback() Activating context failed with error:
> Unknown error type
> Jan 9 14:32:51 yarus-ng daemon.debug connmand[135]:
> plugins/ofono.c:set_property_reply() /he910_0 path /he910_0/context1
> org.ofono.ConnectionContext.Active
> Jan 9 14:32:51 yarus-ng daemon.err connmand[135]: Failed to change
> property: /he910_0/context1 org.ofono.ConnectionContext.Active:
> org.ofono.Error.Failed Operation failed
>
> AT+CREG? and AT+CGREG? normal answers
> so modem registered in network and gprs context attached AT+CGATT=1...
>
> What causes NO CARRIER answer of modem?
No idea.
Regards,
-Denis
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-12 16:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-12 9:40 ofono+connman he910 Alexey Mednyy
2015-03-12 16:46 ` Denis Kenzior
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.