uORB/sensor: Add carrier frequency for GNSS Satellite

The `struct sensor_gnss_satellite.cf` may be parsed from `GSV.signal_id`(e.g. NMEA 0183 v4.11) and `struct sensor_gnss_satellite.constellation`

Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
This commit is contained in:
wangjianyu3 2024-12-16 21:39:06 +08:00 committed by Xiang Xiao
parent 9500938d44
commit ba0a8fbcb2

View file

@ -69,6 +69,7 @@ static const char sensor_gnss_measurement_format[] =
static const char sensor_gnss_satellite_format[] =
"timestamp:%" PRIu64 ",count:%" PRIu32 ",satellites:%" PRIu32 ","
"constellation:%" PRIu32 ""
",cf:%hf"
SENSOR_GNSS_SATELLITE_INFO_FORMAT(0)
SENSOR_GNSS_SATELLITE_INFO_FORMAT(1)
SENSOR_GNSS_SATELLITE_INFO_FORMAT(2)