Open Source Telephony
 help / color / mirror / Atom feed
From: Eric BOUXIROT <eric.bouxirot@azimut-monitoring.com>
To: ofono@ofono.org
Subject: Re: wwan0 interface without IP
Date: Fri, 28 Mar 2014 16:45:13 +0100	[thread overview]
Message-ID: <lh45ds$8ir$1@ger.gmane.org> (raw)
In-Reply-To: <53358B76.9000505@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 901 bytes --]

> oFono does not assign the IP parameters.  ConnMan does that or you need
> to do this some other way.

forget to tell, i must apply this patch too, because my modem do not 
reconize the command and ofono fail.

diff -uprN a/drivers/swmodem/gprs-context.c 
b/drivers/swmodem/gprs-context.c
--- a/drivers/swmodem/gprs-context.c	2012-07-02 09:55:34.000000000 
+0200
+++ b/drivers/swmodem/gprs-context.c	2014-03-27 23:08:44.904767915 
+0100
@@ -100,9 +100,6 @@ static void at_scact_up_cb(gboolean ok,
 	snprintf(buf, sizeof(buf), "AT!SCPADDR=%u", gcd->active_context);
 	g_at_chat_send(gcd->chat, buf, none_prefix, NULL, NULL, NULL);

-	snprintf(buf, sizeof(buf), "AT+CGCONTRDP=%u", gcd->active_context);
-	g_at_chat_send(gcd->chat, buf, none_prefix, NULL, NULL, NULL);
-
 	modem = ofono_gprs_context_get_modem(gc);
 	interface = ofono_modem_get_string(modem, "NetworkInterface");


      parent reply	other threads:[~2014-03-28 15:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-28 11:41 wwan0 interface without IP Eric BOUXIROT
2014-03-28 14:47 ` Denis Kenzior
2014-03-28 15:35   ` Eric BOUXIROT
2014-03-28 15:26     ` Denis Kenzior
2014-03-28 15:42       ` Eric BOUXIROT
2014-03-28 15:45   ` Eric BOUXIROT [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='lh45ds$8ir$1@ger.gmane.org' \
    --to=eric.bouxirot@azimut-monitoring.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