Commit e7b1680
committed
Rework the bind tool around the transmitter's identity
One string carried both transient status and the UID bytes, and it lived
in the page subtitle -- so the header changed meaning as you used it, and
the only value the tool read back had no home of its own. Split it into a
phrase form, an identity block, and feedback attached to the control that
caused it.
Drop "Request UID". Every event it existed to cover -- the target selector
moving, a first read falling silent -- is one the App can observe, so the
probe runs on tool open, after each write and on a target change, keeping
the bounded six-attempt retry that reports a pre-4.1 module.
Stop reading the receiver at all. It answers only over a link, and a link
only exists between devices already sharing a UID, so its answer could
never differ from the transmitter's -- while the link's presence says the
same thing for free and costs no over-air traffic. The row now reports
Connected / Not connected, and the simulator no longer seeds the two
devices with different UIDs, a state the radios cannot be in.
Bind and Unbind confirm before acting, which is where the advice belongs:
the firmware reaches EnterBindingModeSafely at either address, so "unbind"
puts the receiver into bind mode rather than erasing its binding, and the
other half of the pairing is still the user's to do. The Set button
carries the write sequence's progress instead of a floating status line,
which frees the row that restores [EXIT] on 128x64.
Set also moves to its own row with fixed text, the phrase field stays
editable regardless of what is reachable, and a Both write no longer flips
the selector to Transmitter behind the user.1 parent 1e44cae commit e7b1680
8 files changed
Lines changed: 419 additions & 280 deletions
File tree
- docs
- screenshots
- src/SCRIPTS
- CRSFSimulator
- TOOLS/ExpressLRSBind
- ui
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
92 | 101 | | |
93 | 102 | | |
94 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
47 | 54 | | |
48 | 55 | | |
49 | 56 | | |
50 | | - | |
| 57 | + | |
51 | 58 | | |
52 | 59 | | |
53 | | - | |
| 60 | + | |
54 | 61 | | |
55 | 62 | | |
56 | 63 | | |
| |||
123 | 130 | | |
124 | 131 | | |
125 | 132 | | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
133 | 141 | | |
134 | 142 | | |
135 | 143 | | |
| |||
Loading
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1258 | 1258 | | |
1259 | 1259 | | |
1260 | 1260 | | |
1261 | | - | |
1262 | | - | |
1263 | | - | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
1264 | 1265 | | |
1265 | 1266 | | |
1266 | | - | |
| 1267 | + | |
1267 | 1268 | | |
1268 | 1269 | | |
1269 | 1270 | | |
| |||
0 commit comments