Good afternoon,
I am trying to get cell-tower information from ZTE-M/NB-IOT cell-tower information, in particular RSSI.
In addition - a constant refresh-rate, ideally above 1 Hz, would be great
/Tom
Good afternoon,
I am trying to get cell-tower information from ZTE-M/NB-IOT cell-tower information, in particular RSSI.
In addition - a constant refresh-rate, ideally above 1 Hz, would be great
/Tom
Hi,
After you have successfully registered, you can get the reference signal received power (RSRP) via the AT command AT+CESQ:
AT+CESQ +CESQ: 99,99,255,255,255,32 OK
The last number is the RSRP, in this case: -140 dBm + 32 = -108 dBm.
Here's a simple example to send AT commands:
You can poll AT+CESQ in a kernel timer if you'd like a periodic update, or subscribe to notifications using AT%CESQ=1,n (see chapter 4.6 in the AT commands specification), which will give you updates on when the RSRP changes.
Cheers,
Håkon
Very nice.
However, do I need a specific version/patch of Zephyr to make this work? My breakpoint in `main()` does not seem to trigger, and LED1 seems to blink at constant intervals.
/Tom
Nevermind, I realized that I had to forgotten to flash secure-boot.
Thank you for your help
Nevermind, I realized that I had to forgotten to flash secure-boot.
Thank you for your help