Minimal Android app (Kotlin, single activity) that logs the KTM 1290 SAS CAN bridge (ESP32 + MCP2515) over USB serial in host mode.
- Uses the usbserial library (
com.hoho.android.usbserial) — supports CH340/CH341, CP210x, FTDI and generic CDC adapters (res/xml/device_filter.xml) - Reads serial lines from the bridge, echoes them on screen and logs them to
Downloads/KtmDashboard/viaDownloadWriter(MediaStore on Android 10+, public Downloads folder on older versions) - Flow: plug in the ESP32 → USB permission request → START → timestamped lines
Build with Android Studio (Kotlin DSL, AndroidX AppCompat, USB host feature).