Files
Gearslip/gearslip
Jim HavrillaandClaude Opus 5.5 9549cf0a65 Gearslip says goodbye when it ends a cable connection, and ends a car's stale one
A head unit kept sending into a connection Gearslip had closed without
telling it. Connect with cable then opened a new one that never got its
VersionRequest, and only pulling the cable got the car to start over.

- Gearslip ends a session the way Android Auto does: ByeByeRequest, then a
  short wait for the car's ByeByeResponse. Not when the cable is unplugged.
- A car sending encrypted frames before this connection has said hello is
  told, in the clear and at most three times, that the earlier connection is
  over. This connection then waits for the car to start again.
- Every session Gearslip ends itself logs why: Disconnect pressed, a new
  cable connection, wireless taking over, the screen closing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 00:41:19 -05:00
..