From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: ofono+connman he910
Date: Thu, 12 Mar 2015 11:46:03 -0500 [thread overview]
Message-ID: <5501C2CB.6000601@gmail.com> (raw)
In-Reply-To: <55015EF1.9070806@gmail.com>
[-- 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
prev parent reply other threads:[~2015-03-12 16:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-12 9:40 ofono+connman he910 Alexey Mednyy
2015-03-12 16:46 ` Denis Kenzior [this message]
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=5501C2CB.6000601@gmail.com \
--to=denkenz@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