Commit 65cdf4c
committed
sys/bluetooth: add status update timer
This adds a timer to send status updates periodically in addition to
when the status changes. Since there is no guarantee that notifications
are received, we just keep sending them to be sure.
In the future, we could consider sending an ack back to the hub indicate
that the status change was received so that we don't have to do this.
Issue: pybricks/support#2871 parent 5de74c4 commit 65cdf4c
1 file changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| 192 | + | |
192 | 193 | | |
193 | 194 | | |
194 | 195 | | |
| |||
198 | 199 | | |
199 | 200 | | |
200 | 201 | | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
201 | 206 | | |
202 | | - | |
203 | | - | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
204 | 211 | | |
205 | 212 | | |
206 | 213 | | |
| |||
0 commit comments