This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Modem_info(nrf9160)

Hi I am using ncs version 1.5.0 and dk version 0.15.0

I want go get the modem info like MCC,MNC,CellID & LAC..I followed the following snippet

err = modem_info_string_get(MODEM_INFO_MCC, data, sizeof(data));
printk("Modem Info MCC %s\n", data);

err = modem_info_string_get(MODEM_INFO_MNC, data, sizeof(data));
printk("Modem Info MNC %s\n", data);

err = modem_info_string_get(MODEM_INFO_CELLID, data, sizeof(data));
printk("Modem Info CELLID %s\n", data);

err = modem_info_string_get(MODEM_INFO_AREA_CODE, data, sizeof(data));
printk("Modem Info AREA CODE %s\n", data)

I am getting the Proper MCC & MNC values where as I am getting the cellID as different to which I am getting in LTE link monitor

expected:-

Cell ID: 691983, Tracking area: 49235

but what i am receiving is CELLID 000A8F0F, AREA CODE C053

Can you please help me out how to get the expected cellID & lac

Thanks in advance

Parents Reply Children
No Data
Related