You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When pairing mode is on "Easy" e.g. Just Works pairing in Beta-MakeCode the app hangs when trying to flash a hex. It works, when Calliope mini is then clicked on reset – or if the transfer within the app is stopped a restarted. So it seems that there is just a timing issue within the connection between both devices (the app tries to send data before the Calliope mini is restarted/in dfu mode).
The text was updated successfully, but these errors were encountered:
If I remember correctly there is indeed a fixed delay because the Calliope connects in flash mode before it is able to receive data. We can make this longer and see if it helps.
In my tests the pairing itself worked, it is only a small tweak required to make it work:
User starts flashing for the first time.
App aks for a pairing
User presses accept button
Mini shows Check on the display.
Pairing was now sucessfull, but the mini need another restart to start flashing.
The App does not send a "restart to dfu" command to the mini and starts sending the hex data instead
Some bytes arive, but the flashing process stops (when the mini decides to stop showing the checkmark)
The app hangs while showind some % of progress.
To fix, the user has to Cancel the process and initiate the flashing process again - it will work now (unless Program already transferred #23 is not kicking in and the user has to change the program first)
To fix this it would be enough to just change step 6 and make sure the mini is restarted into dfu mode again before the actuall flashing process starts. If it cant be done programatically a popup could ask the user to restart the mini when he sees a checkmark on the screen and confirm to continue the flashing process.
When pairing mode is on "Easy" e.g. Just Works pairing in Beta-MakeCode the app hangs when trying to flash a hex. It works, when Calliope mini is then clicked on reset – or if the transfer within the app is stopped a restarted. So it seems that there is just a timing issue within the connection between both devices (the app tries to send data before the Calliope mini is restarted/in dfu mode).
The text was updated successfully, but these errors were encountered: