All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mylene Josserand <mylene.josserand@openwide.fr>
To: ofono@ofono.org
Subject: Re: [help] connect 2 APN at the same time (PPP and QMI)
Date: Thu, 04 Dec 2014 16:34:07 +0100	[thread overview]
Message-ID: <392376778.28854113.1417707247777.JavaMail.root@openwide.fr> (raw)
In-Reply-To: <547FA131.9000001@gmail.com>

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

Hi Denis,


Thank you for your help. I really appreciate.


> This sort of depends on whether your hardware actually supports
> multiple
> contexts being activated at once.


For this, it is okay. My hardware can have 3 contexts activated at the same time.



> You could try modifying the gobi plugin and udevng to allocate 2
> gprs-contexts.  One using the QMI driver and the other using PPP.
> 
> e.g. something like:
> 
> gc = ofono_gprs_context_create(modem, 0, "qmimodem", device);
> ofono_gprs_add_context(gprs, gc);
> 
> gc = ofono_gprs_context_create(modem, 0, "atmodem", ppp_chat);
> ofono_gprs_add_context(gprs, gc);
> 
> and see if that works.
 

I have tried it but, with the dbus method GetContext, only one context is shown (the QMI ones). 
The "at_gprs_context_probe" is called but failed at "g_at_chat_get_slave". 
I checked the gcd->chat and it is not NULL so it seems to come to the slave. 

What is it for ? What have I missed ?


Thank you in advance,

Best regards,


Mylène


  reply	other threads:[~2014-12-04 15:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1862208886.28721645.1417597240490.JavaMail.root@openwide.fr>
2014-12-03 10:14 ` [help] connect 2 APN at the same time (PPP and QMI) Mylene Josserand
2014-12-03 23:48   ` Denis Kenzior
2014-12-04 15:34     ` Mylene Josserand [this message]
2014-12-04 16:26       ` Mylene Josserand
2014-12-04 16:56         ` Denis Kenzior
2014-12-05 12:38           ` Mylene Josserand
2014-12-05 13:34             ` Mylene Josserand

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=392376778.28854113.1417707247777.JavaMail.root@openwide.fr \
    --to=mylene.josserand@openwide.fr \
    --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.