Open Source Telephony
 help / color / mirror / Atom feed
From: Lukasz Nowak <lnowak.tyco@gmail.com>
To: ofono@ofono.org
Subject: Re: Telit LE910V1 - LTE only modem
Date: Wed, 22 Mar 2017 18:23:10 +0000	[thread overview]
Message-ID: <71104ef0-1e92-7317-a29c-eac560a3625f@gmail.com> (raw)
In-Reply-To: <ed2ddd68-7c58-ab7a-981c-d15096746291@gmail.com>

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

Hi Denis,

I investigated this further today. The Telit modem exposes two interfaces AT commands and QMI.
What you are describing matches what the AT interface reports:
- modem powers on already registered to the network with 5 contexts, and one of them is active

However, the QMI interface is quite different. None of the "profiles" as QMI calls them is active.
The user needs to explicitly activate one of them with a "start network" command. Without that,
the modem's data service (WDS) appears off-line.

For now, I left it the way the original qmimodem code works - the user provides an APN.
This works fine - the QMI "start network" command uses the user's entry from a context, and
the modem is happy with that.

As an enhancement the wds-get-default-settings command could be used to pre-fill the context
with APN, IP type and auth. But the ofono gprs context still needs to be activated in order
to send the QMI "start network" command.

Lukasz



On 21/03/17 18:57, Denis Kenzior wrote:
> Hi Lukasz,
> 
>> I am still a little bit confused about ofono_gprs_cid_activated(). As far as I can see only atmodem calls it. No other driver does that.
> 
> That's because only the ublox devices have been properly enabled for LTE :)
> 
>> I am not sure if a context is automatically created. I can see that the sim card has a few profiles, and the user can select which APN to use, start/stop ip network, etc.
> 
> Yes, that's how LTE works.  An initial context (default bearer) is always activated on LTE.  The device can provide an initial attach APN (see doc/lte-api.txt) which is used to tell the modem which APN to attach to by default.  From what I recall, the device can provide an empty APN (in which case the network assigns one).
> 
> The default bearer varies by the carrier.  Some use it for IMS, some use it for the internet context.  So the modem/firmware behavior is often tweaked for a particular carrier.  Some modems might not report the default context at all in which case the device acts more like a 3G modem than an lte one.
> 
> Regards,
> -Denis

      reply	other threads:[~2017-03-22 18:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-15 18:35 Telit LE910V1 - LTE only modem Lukasz Nowak
2017-03-16  9:32 ` Piotr Haber
2017-03-16  9:32   ` [PATCH] support Telit LE910 modem Piotr Haber
2017-03-16 12:57   ` Telit LE910V1 - LTE only modem Lukasz Nowak
2017-03-20 13:19   ` Lukasz Nowak
2017-03-20 13:32     ` gluedig
2017-03-20 14:39     ` Denis Kenzior
2017-03-20 16:46       ` Lukasz Nowak
2017-03-20 23:39         ` Denis Kenzior
2017-03-21 17:50           ` Lukasz Nowak
2017-03-21 18:57             ` Denis Kenzior
2017-03-22 18:23               ` Lukasz Nowak [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=71104ef0-1e92-7317-a29c-eac560a3625f@gmail.com \
    --to=lnowak.tyco@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox