[PATCH] command-nas: fix cmd_nas_get_cell_location_info_cb

Cezary Jackiewicz cezary.jackiewicz at gmail.com
Sun Mar 6 09:37:59 PST 2022


Dnia 2022-03-06, o godz. 18:25:57
Jan-Niklas Burfeind <git at aiyionpri.me> napisał(a):

> Correct order of rsrp and rsrq parameters for print_lte_info.
> 
> Signed-off-by: Jan-Niklas Burfeind <git at aiyionpri.me>

Hi,
BTW, syntax is invalid. Output is not valid json format.
Could you also proper format output?

Ex: missing keys after serving_cell_id:

# uqmi -d /dev/cdc-wdm0 --get-cell-location-info
{
	"intrafrequency_lte_info": {
		"tracking_area_code": 11041,
		"global_cell_id": 2742796,
		"channel": 3526,
		"band": 8,
		"frequency": 900,
		"duplex": "FDD",
		"serving_cell_id": 49,
		{
			"physical_cell_id": 49,
			"rsrq": -70.800000,
			"rsrp": -10.400000,
			"rssi": -47.200000
		},
		{
			"physical_cell_id": 10,
			"rsrq": -78.500000,
			"rsrp": -17.900000,
			"rssi": -50.900000
		},
		{
			"physical_cell_id": 50,
			"rsrq": -78.400000,
			"rsrp": -18.500000,
			"rssi": -50.900000
		}
	}
}


-- 
Pozdrawiam,
 Cezary Jackiewicz



More information about the openwrt-devel mailing list