nuttx-apps/system/uorb/sensor
haopengxiang bdedf648c5 uorb/topics: update delicated match of listener topics
bug: if user input obr_topic is sensor_gps_sate(wrong topic, which does not exist), the using of `strncmp` will assign idx=8 (as sesnor_gps) in the first.

However, there is no match in the `g_sensor_list`, hence idx=8 will give  out value of `sensor_gps` as output(wrong).

Change: This update aims to match the whole value of sensor name in `g_sensor_list`, while keeping `sensor_name+number` match in this condition.

Signed-off-by: haopengxiang <haopengxiang@xiaomi.com>
2023-08-10 02:01:09 +08:00
..
accel.c system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
accel.h system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
baro.c system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
baro.h system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
cap.c system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
cap.h system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
co2.c system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
co2.h system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
dust.c system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
dust.h system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
ecg.c fix: sensor: support ECG event lead info 2023-02-02 22:49:22 +08:00
ecg.h system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
gesture.c system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
gesture.h system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
gps.c uorb/sensor/gps: fix uorinfo_raw print error 2023-08-10 02:01:09 +08:00
gps.h system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
gyro.c system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
gyro.h system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
hall.c fix: sensor: update hall data type 2023-02-02 22:49:22 +08:00
hall.h system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
hbeat.c system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
hbeat.h system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
hcho.c system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
hcho.h system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
hrate.c system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
hrate.h system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
humi.c system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
humi.h system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
impd.c system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
impd.h system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
ir.c system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
ir.h system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
light.c system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
light.h system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
mag.c system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
mag.h system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
noise.c system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
noise.h system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
ots.c system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
ots.h system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
ph.c system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
ph.h system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
pm1p0.c system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
pm1p0.h system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
pm10.c system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
pm10.h system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
pm25.c system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
pm25.h system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
ppgd.c system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
ppgd.h system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
ppgq.c system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
ppgq.h system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
prox.c system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
prox.h system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
rgb.c system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
rgb.h system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
temp.c system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
temp.h system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
topics.c uorb/topics: update delicated match of listener topics 2023-08-10 02:01:09 +08:00
tvoc.c system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
tvoc.h system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
uv.c system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00
uv.h system/uorb: add builtin sensor topics 2022-07-23 16:57:58 -03:00