RSRP/RSRQ reporting in MicroPython

The network.Cellular() object contains a signal() function.

When called network.Cellular() will return a dictionary containing up to three signal quality indicators if they are currently available. The possible entries in the dictionary and their meaning are in the table below.

key  
rsrp Reference Signal Received Power in dBm
rsrq

Reference Signal Received Quality in dB

rssi Received Signal Strength Indicator in dB

If the module is in a PSM dormant state, the signal() function will throw an ENOTCONN error.

It is possible for the device to be in a state where signal information is not provided in a timely fashion, so the function will raise an OSError with value ETIMEDOUT should it take longer than five seconds to attempt to retrieve the signal values.

This applies to all XBee Cellular LTE variants, but not to the XBee Cellular 3G Global Embedded Modem.