nuttx-apps/system/uorb
Felipe Moura 0fd4adef52 system/uorb: make listener see fetch()-only sensors
orb_subscribe_multi() opens the descriptor blocking, so a sensor whose
lower half only implements fetch() (no push, e.g. an I2C part with no
interrupt line) never satisfies poll()/read() and the listener silently
times out with zero messages, indistinguishable from a sensor that has
nothing to report. Set O_NONBLOCK after subscribing; sensors that do
push samples are unaffected, since neither sensor_poll() nor
sensor_read() consults O_NONBLOCK on that path.

Signed-off-by: Felipe Moura <moura.fmo@gmail.com>
2026-07-31 17:48:04 -03:00
..
sensor system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
test system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
uORB system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
CMakeLists.txt uorb: add generator tool. 2025-11-20 20:44:25 +08:00
generator.c uorb/generator:Fix generator bugs and formatting issues. 2025-11-20 20:44:25 +08:00
Kconfig system/uorb: introduce CONFIG_UORB_FORMAT for format string control 2026-06-09 17:02:03 +08:00
listener.c system/uorb: make listener see fetch()-only sensors 2026-07-31 17:48:04 -03:00
Make.defs system: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
Makefile uorb: add generator tool. 2025-11-20 20:44:25 +08:00