Record the measured USB link: NCM, bind to Ethernet, keep awake

Tested against the car Orin: the tablet is USB host to the Orin's NCM
gadget (192.168.55.1). Android routes app traffic over it only when it
is the default network, so the app must bind to TRANSPORT_ETHERNET. PD
changes cost ~3 s, and an idle tablet off charger sleeps and goes
silent, so the app keeps the device awake. Two guidelines follow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
mikkeli
2026-10-09 16:08:28 +09:00
parent a79b4ef9d3
commit c1ffba08fb
2 changed files with 36 additions and 6 deletions
+9 -1
View File
@@ -17,4 +17,12 @@ type: guidelines
## 3. Design for a split screen
- The screen may be shared with another app. Do not assume full width.
## 4. To be added
## 4. Bind to the Orin's network explicitly
- Android's default network is never the Orin link (it has no internet). Request
`TRANSPORT_ETHERNET` and bind to it; never rely on the default route.
## 5. Keep the device awake while displaying
- A sleeping tablet is indistinguishable from a dead link. Hold the screen on
while the app is the display, and treat every reconnect as routine, not an error.
## 6. To be added