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
accel.h
baro.c
baro.h
cap.c
cap.h
co2.c
co2.h
dust.c
dust.h
ecg.c fix: sensor: support ECG event lead info 2023-02-02 22:49:22 +08:00
ecg.h
gesture.c
gesture.h
gps.c uorb/sensor/gps: fix uorinfo_raw print error 2023-08-10 02:01:09 +08:00
gps.h
gyro.c
gyro.h
hall.c fix: sensor: update hall data type 2023-02-02 22:49:22 +08:00
hall.h
hbeat.c
hbeat.h
hcho.c
hcho.h
hrate.c
hrate.h
humi.c
humi.h
impd.c
impd.h
ir.c
ir.h
light.c
light.h
mag.c
mag.h
noise.c
noise.h
ots.c
ots.h
ph.c
ph.h
pm1p0.c
pm1p0.h
pm10.c
pm10.h
pm25.c
pm25.h
ppgd.c
ppgd.h
ppgq.c
ppgq.h
prox.c
prox.h
rgb.c
rgb.h
temp.c
temp.h
topics.c uorb/topics: update delicated match of listener topics 2023-08-10 02:01:09 +08:00
tvoc.c
tvoc.h
uv.c
uv.h