[PATCH] Telit plugin: add load_supported_bands interface

Carlo Lobrano c.lobrano at gmail.com
Wed Jan 13 23:51:40 PST 2016


​AT#BND does return the list of supported bands for 2G and UMTS, but for
LTE​ (according to LE910 V2 AT command docs) it is a little bit more
complicated. In fact the LTE bands are represented by a number which is "a
sum of:

1 - B1
2 - B2
4 - B3
8 - B4
...
i - B(2exp(i-1))
...
2147483648 - B32"

So, for example, for a LE910 V2 model that supports like B1, B5, B13 the
value returned by AT#BND will be 2^1+2^5+2^13.
So, in my opinion is really better to take the list of supported bands
directly from the model data sheet.



On 13 January 2016 at 22:43, Dan Williams <dcbw at redhat.com> wrote:

> On Wed, 2016-01-13 at 11:55 +0100, Carlo Lobrano wrote:
> > Hi,
> >
> > this patch implements `load_supported_bands` for the following
> > Telit's modems:
>
> Does AT#BND=? not work on these devices, or does it not return accurate
> results?  Maybe I missed that question before...
>
> Dan
>
> > - HE910 EU*
> > - HE910 NA*
> > - LE910 EU V2
> > - LE910 NA V2
> > - LE910 SV V2
> >
> > Carlo Lobrano (1):
> >   [Telit Plugin] Add load_supported_bands for some Telit modem models
> >
> >  plugins/telit/77-mm-telit-port-types.rules        |   4 +
> >  plugins/telit/mm-broadband-modem-telit.c          |  59 +++++++
> >  plugins/telit/mm-modem-helpers-telit.c            | 129
> > +++++++++++++++-
> >  plugins/telit/mm-modem-helpers-telit.h            |  57 +++++++
> >  plugins/telit/tests/test-mm-modem-helpers-telit.c | 178
> > +++++++++++++++++++++-
> >  5 files changed, 423 insertions(+), 4 deletions(-)
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/modemmanager-devel/attachments/20160114/3ca2a5ef/attachment.html>


More information about the ModemManager-devel mailing list