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 17:26:23 +0100	[thread overview]
Message-ID: <296413424.28859588.1417710383928.JavaMail.root@openwide.fr> (raw)
In-Reply-To: <392376778.28854113.1417707247777.JavaMail.root@openwide.fr>

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

Hi again,


> 
> 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 ?
> 

I continued to look around and I succeed to make it work !

I looked to other modem plugins. I think I understand what the slave is thanks to that. It is the other interfaces to send AT commands, only, whereas the "main" GAtChat serves to create the PPP connection, is not it ? If I am wrong, do not hesitate to make me understand how it works.

I set the slave (via "g_at_chat_set_slave") to my "Application" device and I succeeded to get 2 contexts. I activate them and it creates the PPP and QMI connections ! I still have a problem : I did not get an IP address on one of the APN connection but this is another problem (connman ?) and I will search alone for that before asking for help :)


Anyway, thank you for the help you gave me !


Best regards,

Mylène

  reply	other threads:[~2014-12-04 16:26 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
2014-12-04 16:26       ` Mylene Josserand [this message]
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=296413424.28859588.1417710383928.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.