Skip to content

ADFA-5197 docs(connectivity): device-to-device options, mechanisms and decision - #438

Merged
luisguzman-adfa merged 2 commits into
mainfrom
docs/ADFA-5197-hotspot-credentials
Aug 20, 2026
Merged

ADFA-5197 docs(connectivity): device-to-device options, mechanisms and decision#438
luisguzman-adfa merged 2 commits into
mainfrom
docs/ADFA-5197-hotspot-credentials

Conversation

@luisguzman-adfa

Copy link
Copy Markdown
Collaborator

Adds an engineering note that answers ADFA-5197 (preserve hotspot name/password across
restarts) and maps the device-to-device connectivity options for K2Go.

Finding: a fixed SSID/passphrase on a user-owned Android phone is not achievable with public
APIs — the platform reserves AP naming for system components (LOHS/SoftAP/Wi-Fi Direct hand the
app system-generated credentials it can read but not pin). The stable, printable experience the
ticket wants is delivered by moving the AP off the phone (external router, fixed creds) and
reaching the host by name via NSD/mDNS — a standard, unprivileged API — so a DHCP address that
changes doesn't matter. LOHS + on-screen QR stays as the hardware-less fallback.

Covers, grounded in the codebase: options A–E with the API mechanism folded in (LOHS, Wi-Fi
Direct, Device Owner, Wi-Fi Aware, external AP); the :8085 reachability cross-cut (bind is
nginx-in-proot, not Android; interface discovery already done in NetworkInterfaces); an
addressing-by-mode table; permissions; and a verified vs. to-verify checklist.

Docs only — no code change.

…d decision

Adds an engineering note that answers ADFA-5197 (preserve hotspot name/password across
restarts) and maps the device-to-device connectivity options for K2Go.

Finding: a fixed SSID/passphrase on a user-owned Android phone is not achievable with public
APIs — the platform reserves AP naming for system components (LOHS/SoftAP/Wi-Fi Direct hand the
app system-generated credentials it can read but not pin). The stable, printable experience the
ticket wants is delivered by moving the AP off the phone (external router, fixed creds) and
reaching the host by name via NSD/mDNS — a standard, unprivileged API — so a DHCP address that
changes doesn't matter. LOHS + on-screen QR stays as the hardware-less fallback.

Covers, grounded in the codebase: options A–E with the API mechanism folded in (LOHS, Wi-Fi
Direct, Device Owner, Wi-Fi Aware, external AP); the `:8085` reachability cross-cut (bind is
nginx-in-proot, not Android; interface discovery already done in `NetworkInterfaces`); an
addressing-by-mode table; permissions; and a verified vs. to-verify checklist.

Docs only — no code change.
@luisguzman-adfa
luisguzman-adfa merged commit ba25b7c into main Aug 20, 2026
2 checks passed
@luisguzman-adfa
luisguzman-adfa deleted the docs/ADFA-5197-hotspot-credentials branch August 20, 2026 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant