nas-get-cell-location-info, signal-info
Aleksander Morgado
aleksander at aleksander.es
Mon Jun 2 07:35:06 PDT 2014
Hey Eugen,
On Mon, Jun 2, 2014 at 3:04 PM, E.B <ebiegler at gmx.de> wrote:
> I think it would be better to change in qmicli-nas.c
>
> "\t\tRSRQ: %lf\n"
> "\t\tRSRP: %lf\n"
> "\t\tRSSI: %lf\n"
>
> into this:
>
> "\t\tRSRQ: %.1lf\n"
> "\t\tRSRP: %.1lf\n"
> "\t\tRSSI: %.1lf\n"
>
Yeah, good idea. Those values are obtained by dividing integers/10, so
only 1 decimal point is enough.
>
> and
>
> g_print ("LTE:\n"
> "\tRSSI: '%d dBm'\n"
> "\tRSRQ: '%d dB'\n"
> "\tRSRP: '%d dBm'\n"
> "\tSNR: '%.1lf dBm'\n",
>
> into this:
>
> g_print ("LTE:\n"
> "\tRSSI: '%d dBm'\n"
> "\tRSRQ: '%d dB'\n"
> "\tRSRP: '%d dBm'\n"
> "\tSNR: '%.1lf dB'\n",
>
Yes, SNR is dB.
Fixed both in git master now.
--
Aleksander
https://aleksander.es
More information about the libqmi-devel
mailing list