Closed joernalraun closed 4 months ago
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:
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.
Postponed, because of reverted state of Makecode Bluetooth settings.
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).