nuttx-apps/system/uorb/sensor
likun17 00d9af873d system/uorb: add missing metadata for velocity and ambient_temp
SENSOR_TYPE_VELOCITY and SENSOR_TYPE_AMBIENT_TEMPERATURE have an
entry in the kernel g_sensor_meta[] table but no ORB_DECLARE/ORB_DEFINE
in user space, so ORB_ID() fails to link, callers must fall back to
orb_open() by name and lose the o_size check, and uorb_listener cannot
monitor them.
Add the missing metadata and register both in g_sensor_list[];
ambient_temp reuses struct sensor_temp the same way sensor_light_uncal
already reuses struct sensor_light.

Signed-off-by: likun17 <likun17@xiaomi.com>
2026-09-14 23:56:06 +08:00
..
accel.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
accel.h system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
angle.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
angle.h system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
baro.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
baro.h system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
cap.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
cap.h system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
co2.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
co2.h system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
dust.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
dust.h system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
ecg.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
ecg.h system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
eng.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
eng.h system/uorb: add a new uorb topic ENG 2026-01-14 10:49:28 -05:00
force.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
force.h system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
gas.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
gas.h system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
gesture.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
gesture.h system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
gnss.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
gnss.h system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
gyro.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
gyro.h system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
hall.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
hall.h system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
hbeat.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
hbeat.h system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
hcho.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
hcho.h system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
hrate.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
hrate.h system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
humi.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
humi.h system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
impd.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
impd.h system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
ir.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
ir.h system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
light.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
light.h system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
mag.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
mag.h system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
motion.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
motion.h system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
noise.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
noise.h system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
ots.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
ots.h system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
ph.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
ph.h system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
pm1p0.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
pm1p0.h system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
pm10.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
pm10.h system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
pm25.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
pm25.h system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
pose_6dof.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
pose_6dof.h system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
ppgd.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
ppgd.h system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
ppgq.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
ppgq.h system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
prox.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
prox.h system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
rgb.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
rgb.h system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
rotation.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
rotation.h system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
step_counter.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
step_counter.h system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
temp.c system/uorb: add missing metadata for velocity and ambient_temp 2026-09-14 23:56:06 +08:00
temp.h system/uorb: add missing metadata for velocity and ambient_temp 2026-09-14 23:56:06 +08:00
topics.c system/uorb: add missing metadata for velocity and ambient_temp 2026-09-14 23:56:06 +08:00
tvoc.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
tvoc.h system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
uv.c system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
uv.h system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
velocity.c system/uorb: add missing metadata for velocity and ambient_temp 2026-09-14 23:56:06 +08:00
velocity.h system/uorb: add missing metadata for velocity and ambient_temp 2026-09-14 23:56:06 +08:00