Commit 13cfcde
feat(inmotion-v1): show the real model name, write NO_RESPONSE for reliable commands
Two follow-ups now that the V8S connects reliably (MTU-wedge fix confirmed working):
1. Model name showed generic "InMotion V1 (serial)" instead of "V8S". The model
WAS detected from the BLE name ("V8S-81E30005" -> V8S) but the display only used
the model decoded from the slow-info bytes, which the V8S doesn't carry, so it
fell back to the generic label. Now notifyConnectingTo emits the name-detected
model immediately, and the slow-info path falls back to it when the bytes carry
no model id.
2. Switch InMotion V1 writes to WRITE_TYPE_NO_RESPONSE (ATT 0x52) - the write type
EUC World uses for all data writes. With write-with-response, an ack lagging past
the ~250 ms poll interval gets the next write rejected code 201, which can drop a
one-shot command like a legal-mode / speed-limit change. No-response frees the
GATT immediately so writes never collide. Safe now that the fatal-201 cause (the
requestMtu wedge) is fixed; the earlier NO_RESPONSE build failed on that wedge,
not the write type.
Branch also merges origin/next-version (trip map style, studio replay panes, i18n,
dropbox conflict fix).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GADLyChheAoMX9dQbRgRnH1 parent 3bd5cf2 commit 13cfcde
2 files changed
Lines changed: 25 additions & 11 deletions
Lines changed: 12 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
70 | 74 | | |
71 | 75 | | |
72 | 76 | | |
| |||
296 | 300 | | |
297 | 301 | | |
298 | 302 | | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
299 | 308 | | |
300 | 309 | | |
301 | | - | |
302 | | - | |
| 310 | + | |
| 311 | + | |
303 | 312 | | |
304 | 313 | | |
305 | 314 | | |
| |||
Lines changed: 13 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
95 | 100 | | |
96 | 101 | | |
97 | 102 | | |
| |||
0 commit comments