How to get MCC and MNC (Information for Location through CellID)

leninweblb7 years ago

Hi buddies, Im trying to use localization thought CellID.
I was checking the information that give me /api/positions

"network":{"radioType":"gsm","considerIp":false,"cellTowers":[{"cellId":60035,"locationAreaCode":61005,"mobileCountryCode":0,"mobileNetworkCode":0}]}}]

As you can see the field mobileCountryCode (MCC) and mobileNetworkCode (MNC) are zero.
How can I get that information?

Best Regards
Lenin

Anton Tananaev7 years ago

Most likely it means that your device doesn't report those values. You can configure them in the config file:

https://www.traccar.org/configuration-file/

leninweblb7 years ago

Great, thank you very much.

Best Regards
Lenin

leninweblb7 years ago

Additionally, is there anyway to know the level of the cell signal?

Anton Tananaev7 years ago

If device reports it you will see it in Traccar.