nwm::UDS supports two ScarletNX instances using an explicitly selected Eden-compatible
room in Network settings. Enable Room wireless on both players and choose the same room.
The selected profile supplies the console username, limited to the 3DS's ten characters.
The backend implements discovery, host/join, node status, channel bindings, packet send/pull and disconnect. It uses a private protocol inside the room's datagram transport. It does not connect to physical consoles, Citra/Azahar rooms or Switch LDN sessions. With LAN mode (the default), Initialize succeeds, scans find no network and hosting works with no peer. Command 0x23, which some games send before a scan, answers 0x0421, the value libctru's udsScanBeacons puts in its scan input. Read as a mask with bit n for channel n + 1, that is channels 1, 6 and 11. The 3DS backend has no LAN transport, and ldn_mitm's protocol is for the Switch only. Nothing leaves the machine and no room is joined.
No game image or synchronization window is patched. One game's internet co-op still has input-delay and synchronization limits. The development runs with title-specific buffering experiments do not establish stock-game WAN compatibility for this backend.
Synthetic IPC tests cover discovery, a duplicate join, packet bounds, FIFO bursts and
disconnect through a local relay and a relay with 120 ms delay in each forwarding leg.
They also check that discovery beacons omit the passphrase hash, a beacon-only join
is rejected, and pending joins leave other guest threads, display and DSP scheduling
running. Both connect commands finish asynchronously; timeout, CLOSE before SYNC,
disconnect, shutdown and caller exit exercise their cleanup and reply ownership.
ldn_room covers a 512-packet socket burst and the 4 MiB low-latency queue bound.
Optional snx-test-3ds-uds --public uses SNX_TEST_UDS_ROOM=host:port rather than a
hardcoded public server. No game data is needed for these tests.
Made from docs/platforms/3ds/README.md at 69237645142c. GPL-3.0-or-later.