[PATCH] Telit plugin: add load_supported_bands interface

Carlo Lobrano c.lobrano at gmail.com
Thu Jan 14 03:41:53 PST 2016


Well, have you ever felt so sure about one thing and then talking to
someone about it you realize that was wrong? I was so sure that parsing the
response, working out the LTE bands from that number and mapping the BND
values to MM bands would have been more difficult than just hardcode the
supported bands, that I did not consider it as a solution. Now I made some
design and it should be feasible. Sorry for the mess, I will propose
another patch.

On 14 January 2016 at 09:44, Aleksander Morgado <aleksander at aleksander.es>
wrote:

> On Thu, Jan 14, 2016 at 8:51 AM, Carlo Lobrano <c.lobrano at gmail.com>
> wrote:
> > 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.
>
> Why would that be better? If AT#BND is a single method to work with
> all models, old and new (and future new ones) maybe it really is
> better o just use that instead of hardcoding per-model lists?
>
> --
> Aleksander
> https://aleksander.es
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/modemmanager-devel/attachments/20160114/43be5abe/attachment.html>


More information about the ModemManager-devel mailing list