From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: Unable to connect Huawei HiLink E303
Date: Thu, 06 Feb 2014 11:17:31 -0600 [thread overview]
Message-ID: <52F3C3AB.7030608@gmail.com> (raw)
In-Reply-To: <CAK+sfovfw-jxkgfYKA4sqURwmJV3AwGQKy_yiKO6cWhNq0a4sQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1249 bytes --]
Hi Homam,
On 02/06/2014 11:20 AM, Homam Dabis wrote:
> I don't think it is anything to do with the APN as I can connect with
> the network-manager with out disconnecting the modem or replacing the sim.
>
That really doesn't mean anything.
> ofonod[18701]: Modem: > AT+CGDCONT=1,"IP","3ireland.ie"\r
Is the APN correct?
> ofonod[18701]: Modem: < \r\nOK\r\n
> ofonod[18701]: drivers/atmodem/gprs-context.c:at_cgdcont_cb() ok 1
> ofonod[18701]: Modem: > AT+CGDATA="PPP",1\r
> ofonod[18701]: Modem: < \r\n+CME ERROR: 50\r\n
> ofonod[18701]: drivers/atmodem/gprs-context.c:at_cgdata_cb() ok 0
> ofonod[18701]: Unable to enter data state
> ofonod[18701]: src/gprs.c:pri_activate_callback() 0x22f5900
> ofonod[18701]: src/gprs.c:pri_activate_callback() Activating context
> failed with error: Incorrect parameters
If the APN is correct, as a quick hack try changing:
gc = ofono_gprs_context_create(modem, 0,
"atmodem", data->modem);
in plugins/huawei.c huawei_post_sim() to
gc = ofono_gprs_context_create(modem,
OFONO_VENDOR_SIMCOM_SIM900,
"atmodem", data->modem);
Regards,
-Denis
next prev parent reply other threads:[~2014-02-06 17:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-06 16:40 Unable to connect Huawei HiLink E303 Homam Dabis
2014-02-06 16:52 ` Denis Kenzior
2014-02-06 17:20 ` Homam Dabis
2014-02-06 17:17 ` Denis Kenzior [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-02-06 17:37 Homam Dabis
2014-02-07 14:42 ` Denis Kenzior
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=52F3C3AB.7030608@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 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.