[PATCH] Telit plugin: add load_supported_bands interface

Aleksander Morgado aleksander at aleksander.es
Thu Jan 14 00:44:53 PST 2016


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


More information about the ModemManager-devel mailing list