NRF9160 and cellular metric data

Hello,

is there an easy way to get cellular metric data ie RSRP , cell tower id, etc using goloith + nrf9160

1 Like

Hey Pete,

Welcome to the forum!

It is possible, you can query the RSRP directly from the modem. This is in the modem_info library from Nordic Semiconductor (as well as things like Battery Voltage and more)

https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/modem/modem_info.html#c.modem_info

It’s possible to then push these locally found pieces of info up to the cloud using something like LightDB State, where you could then query it on the REST API.

Hi chris - thanks for the info

any tips on getting this integrated into the samples/dfu ?

modules/lib/golioth/samples/dfu/src/main.c:467: undefined reference to `modem_info_init’

@pchan I think if you enable CONFIG_MODEM_INFO=y in your prj.conf file it will make that function available

https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index.html#CONFIG_MODEM_INFO

this worked - thanks.