nuttx-apps/include
Arjav Patel 105c706537 system/microros: Add UDP and serial custom transport backends.
Micro XRCE-DDS expects the application to supply open/close/write/read
callbacks for the wire transport. Add a single dispatcher that
registers the selected backend via rmw_uros_set_custom_transport(),
plus two backends:

transport/microros_transport_udp.c
  BSD-socket UDP backend. Opens an AF_INET/SOCK_DGRAM socket,
  resolves CONFIG_MICROROS_AGENT_IP/PORT, connect()s it, and uses
  send/recv. The socket fd is stashed in uxrCustomTransport->args
  so no module-level state is needed.

transport/microros_transport_serial.c
  termios serial backend. Opens CONFIG_MICROROS_SERIAL_DEVICE with
  O_RDWR|O_NOCTTY|O_CLOEXEC, switches to raw 8N1 at
  CONFIG_MICROROS_SERIAL_BAUD, and uses poll/read/write. Fd is
  again stashed in uxrCustomTransport->args.

Both backends are mutually exclusive at compile time via Kconfig;
the dispatcher selects which set of callbacks to register. Wired
into both the legacy Make build (CSRCS in system/microros/Makefile)
and the CMake build (separate microros_transport static library
with the transport directory only exposed to its INTERFACE).

Signed-off-by: Arjav Patel <arjav1528@gmail.com>
2026-06-01 11:04:22 +05:30
..
audioutils include: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
builtin include: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
canutils style: Fix coding style violations in nuttx-apps 2026-01-12 00:54:48 +08:00
crypto/controlse include: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
fsutils include: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
graphics include/debug.h: Use <nuttx/debug.h> in apps 2026-04-11 10:39:27 -03:00
industry style: Fix coding style violations in nuttx-apps 2026-01-12 00:54:48 +08:00
interpreters include: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
logging/nxscope logging/nxscope: add UDP transfer interface 2026-03-18 12:43:50 -03:00
lte include: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
modbus include: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
netutils netlib: replace DNS ping with gateway ping for connectivity check 2026-05-14 11:58:15 +08:00
nshlib nshlib: Add stderr redirection support 2026-01-27 03:14:00 +08:00
nxmodbus modbus: add nxmodbus 2026-04-20 12:45:17 -03:00
platform include: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
system system/microros: Add UDP and serial custom transport backends. 2026-06-01 11:04:22 +05:30
testing apps/unity: Add printf configuration 2025-08-07 11:21:57 +08:00
wasm include: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
wireless include: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
.gitignore Remove extra whitespace from files (#43) 2020-01-31 08:29:24 -06:00