Modem Signal Strength via ubus

Hi,

I'm trying to access the LTE modem signal strength via python. I've already implemented other metrics via ubus and am now looking into finding the modem signal strength. Is this somewhere available via ubus or a different method?

Thanks for your help!

It depends on the modem, but AT commands seem to render the most detailed info on signal levels. I have a sierra wireless / qualcomm EM7565 and issuing AT!GSTATUS? gives;

AT!GSTATUS?
!GSTATUS: 
Current Time:  469446		Temperature: 65
Reset Counter: 2		Mode:        ONLINE         
System mode:   LTE        	PS state:    Attached     
LTE band:      B7     		LTE bw:      15 MHz  
LTE Rx chan:   2825		LTE Tx chan: 20825
LTE SCC1 state:ACTIVE      	LTE SCC1 band: B28    
LTE SCC1 bw  : 5 MHz   		LTE SCC1 chan: 9235
LTE SCC2 state:NOT ASSIGNED
LTE SCC3 state:NOT ASSIGNED
LTE SCC4 state:NOT ASSIGNED
EMM state:     Registered     	Normal Service 
RRC state:     RRC Connected  
IMS reg state: No Srv  		
PCC RxM RSSI:  -63		PCC RxM RSRP:  -96
PCC RxD RSSI:  -64		PCC RxD RSRP:  -95
SCC1 RxM RSSI: -51		SCC1 RxM RSRP: -78
SCC1 RxD RSSI: -47		SCC1 RxD RSRP: -74
Tx Power:      --		TAC:         e48b (58507)
RSRQ (dB):     -12.2		Cell ID:     000ed901 (973057)
SINR (dB):     16.6
OK 

Not sure how to do that with python but I'm sure its pretty simple, the sample above is obtained from connecting to the modems serial interface and issuing the command from the serial console.

Thank you very much for the hint!
My modem doesn't provide AT!GSTATUS? but I can use AT+CSQ to get what I need.
Works great.