connman.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: "Athimoolam Rajkumar (XC-CI1/ECP1)" <Rajkumar.A2@in.bosch.com>
To: "connman@lists.linux.dev" <connman@lists.linux.dev>
Subject: multiple APN contexts activation failure
Date: Thu, 24 Jun 2021 12:56:06 +0000	[thread overview]
Message-ID: <d718d3f0a1914197944ab05cc43a3b90@in.bosch.com> (raw)

Hi,

I was trying to activate multiple cellular contexts with Connman ( Due to requirement to connect multiple APNs using the same SIM ).
It was possible directly calling the ofono APIs, but via Connman it was not possible.

The available 3 APN contexts are listed as 3 different cellular context services correctly, but when I try to connect to second cellular service, the previous connected cellular service is disconnected.
On looking at the logs and code, looks like it was due to calling of __connman_device_disconnect(network->device) function inside __connman_network_connect in network.c

I am wondering why the different networks/APN contexts of the same modem device has to be disconnected instead of moving to "ready state" before initiating the connection to the new network/APN context.
Is it then not possible at all to have multiple APN contexts activated via Connman?


Regards,
Raj 


             reply	other threads:[~2021-06-24 12:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-24 12:56 Athimoolam Rajkumar (XC-CI1/ECP1) [this message]
2021-07-02  8:03 ` multiple APN contexts activation failure Daniel Wagner
2021-07-02 10:16   ` Athimoolam Rajkumar (XC-CI1/ECP1)
2021-07-02 13:11     ` Daniel Wagner

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=d718d3f0a1914197944ab05cc43a3b90@in.bosch.com \
    --to=rajkumar.a2@in.bosch.com \
    --cc=connman@lists.linux.dev \
    /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;
as well as URLs for NNTP newsgroup(s).