Leading zero(s) missing from MCC/MNC output

Amol Lad Amol.Lad at 4rf.com
Fri Feb 7 04:11:42 UTC 2020


Hi,

I'm noticing a (minor) issue in MM 1.12.4 release. The operator code is "53005" but leading "0" is missing in MNC field when displayed using -location-get command as below. I've noticed that if there are one or more leading zeros then both MCC and MNC do not report it. I've a test APN with MCC "001" and MNC "01" and what is see is "1" and "1" for both MCC and MNC respectively. I think leading zero(s) should not be removed. Please advise.

root at AprisaLTE:~# mmcli -m 0 --location-get -K
modem.location.3gpp.mcc          : 530
modem.location.3gpp.mnc          : 5

Thanks
Amol
________________________________
The information in this email communication (inclusive of attachments) is confidential to 4RF Limited and the intended recipient(s). If you are not the intended recipient(s), please note that any use, disclosure, distribution or copying of this information or any part thereof is strictly prohibited and that the author accepts no liability for the consequences of any action taken on the basis of the information provided. If you have received this email in error, please notify the sender immediately by return email and then delete all instances of this email from your system. 4RF Limited will not accept responsibility for any consequences associated with the use of this email (including, but not limited to, damages sustained as a result of any viruses and/or any action or lack of action taken in reliance on it).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20200207/0f1b97e8/attachment.htm>


More information about the ModemManager-devel mailing list