I'm looking at augmenting the GPS system of the nRF9160 (at the moment due to high current and long time to acquire, easily lost sats/location) with some geolocation. Specifically using Google's location services. https://developers.google.com/maps/documentation/geolocation/intro
Looking at the AT command set https://infocenter.nordicsemi.com/pdf/nrf91_at_commands_v1.0.pdf
It appears the appropriate command is NBRGRSRP, but according to the command doc that command is listed as: "Note: Neighboring cell measurements are only valid and available when neighbors are monitored,i.e. current cell quality is low enough." I try running that command and I only get: %NBRGRSRP: 291,5780,67 I'm assuming that's the tower I'm connected to.
How low does the cell quality have to be to get other towers in that list?
If I'm using the Zephyr RTOS, are there API's that expose more information and other cell towers?
I saw this post, https://devzone.nordicsemi.com/f/nordic-q-a/44093/nrf9160-dk-geolocation-through-lte and it makes me think this won't work or it's not available. But I was curious if there is anything in the API's that might expose more information than the AT commands.
The modem will report back with neighboring cells if there are any available, ie: if it is actively searching due to mobility reasons.
No, it is not possible now. The neighboring cells at command %NBRGRSRP gives the RSRP of your nearby cell, but it gives the physical cell ID, which is different from the cell ID.
More info on this matter can be found in this thread: https://devzone.nordicsemi.com/f/nordic-q-a/42310/nrf9160-zephyr-ncs-zte-m-nb-iot-multiple-cell-tower-rssi