Hello,
Thank you for reaching out!
There are a few ways to get the needed information. If you use more than one model of Teltonika devices in your fleet, we recommend using the ubus commands, as they are standardized across all of our devices.
The command, that will provide the most relevant information is most likely ubus call gsm.modem0 get_ca_info. It provides information about:
- Primary and secondary bands;
- Their EARFCN (frequency);
- RSRQ, RSRP, RSRP, RSSI;
- Physical (non-unique) Cell ID;
Another command for the missing information is ubus call gsm.modem0 get_net_reg_stat.
Both of these commands return the data in JSON format, which can then be parsed to get the needed information.
An alternative could be to get the needed information directly using the AT commands. AT commands can be sent to the modem using the gsmctl module.
The command returns these parameters:
root@Teltonika-RUTX50:~# gsmctl -A 'AT+QENG="servingcell"'
+QENG: "servingcell","NOCONN"
+QENG: "LTE","FDD",246,02,105A33,264,9435,28,2,2,90,-85,-11,-60,11
+QENG: "NR5G-NSA",246,02,264,-107,5,-14,468250,40,8,255
Where:
- LTE - network type;
- FDD - band type;
- 246 - MCC;
- 02 - MNC;
- 105A33 - (Global, unique) Cell ID in hexadecimal format;
- 264 - Physical (not unique) cell ID;
- 9435 - EARFCN (Frequency);
- 28 - frequency band ID;
- 2 - UL bandwidth;
- 2 - DL bandwidth;
- 90 - TAC;
- -85 - RSRP;
- -11 - RSRQ;
- -60 - RSSI;
- 11 - SINR;
If you choose to use AT commands, I would recommend parsing them from the beginning, as the end may contain some more parameters.
uqmi utility also has commands to obtain signal parameters. The choice depends on what is the most convenient tool for you to use.
Let me know if any more information is needed!
Best regards,
DaumantasG