Getting frequency band in use

Aleksander Morgado aleksander at aleksander.es
Tue Apr 29 03:23:20 PDT 2014


On Tue, Apr 29, 2014 at 11:55 AM, Bjørn Mork <bjorn at mork.no> wrote:
>> Is there a way to use QMI to get the current frequency band in use, either
>> using the current libqmi or some yet unimplemented API? Or possibly using
>> MBIM?
>
> eQMI_NAS_GET_CELL_LOC_INFO would be extremely useful because it gets you
> the other currently available bands, and not only the band in use.
>
> Hmm, the last time I looked I could not find any public docs for it.
> But googling now, I got
> https://chromium.googlesource.com/chromiumos/third_party/libqmi/+/master/gobi-api/GobiAPI_2012-09-12-0719/GobiConnectionMgmt/GobiConnectionMgmtAPIStructs.h#8996
> which of course is nothing more than the CodeAurora gobi api code we
> have in libqmi.  Wonder why I missed that before?
>
> Yes, that one is high on my wishlist too!  It also includes the physical
> cell ID, which can be useful.

Isn't that QMI_NAS_GET_CELL_LOCATION_INFO (0x0043). I think I already
tried to add it once to libqmi, but got bored because the TLVs were
too long :)

-- 
Aleksander
https://aleksander.es


More information about the libqmi-devel mailing list