Skip to content

Wait for disconnect after partial flashing success#80

Merged
microbit-matt-hillsdon merged 1 commit intoappsfrom
wait-after-pf
Jan 22, 2026
Merged

Wait for disconnect after partial flashing success#80
microbit-matt-hillsdon merged 1 commit intoappsfrom
wait-after-pf

Conversation

@microbit-matt-hillsdon
Copy link
Contributor

@microbit-matt-hillsdon microbit-matt-hillsdon commented Jan 22, 2026

This seems to help significantly with reconnect on Android, where as the retry solution has encountered issues (unexpected disconnects, trouble discovering services that just increasing the delay didn't help with).

Remove the retries for now - we might well reinstate but we need to do so with more care as it's led to very long retries in the case where there is no device due to app-level retries doubling the retry count.

Tested on Android and iOS with a branch of ml-trainer that removes the delay after flashing.

This seems to help significantly with reconnect on Android

Remove the retries for now - we might well reinstate but we need to do so with
more care as it's led to very long retries in the case where there is no device
due to app-level retries.
@microbit-matt-hillsdon microbit-matt-hillsdon merged commit c375a2c into apps Jan 22, 2026
4 checks passed
@microbit-matt-hillsdon microbit-matt-hillsdon deleted the wait-after-pf branch January 22, 2026 19:12
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