calliope-edu / Calliope-Android-App

The Calliope mini Android App is designed to make working with the Calliope mini easy and convenient.
https://play.google.com/store/apps/details?id=cc.calliope.mini
7 stars 2 forks source link

"V1" or "without active BLE" Experience #24

Closed Amerlander closed 3 weeks ago

Amerlander commented 1 month ago

When a calliope mini 1 OR a mini 2/3 with disabled BLE (e.g. when Radio extension is loaded) gets flashed the user has to get the Calliope into DFU mode.

If the user forgets to do this the app will "wait" for the Calliope to show up. So a user can start the download and nothing happens, until he presses AB+Rest / 3xReset.

The overall behaviour is great, but the App should help to remember the user to start DFU mode, if it fails to start the programming imediately. Like getting a popup "The App is not able to start flashing. It could be, that you are trying to programm a mini that has not enabled BLE by default. Try to get your device into DFU mode by pressing AB+Reset (mini 1/2) or 3 times reset (mini 3) to start BLE manually."

Tsisar commented 1 month ago

We need to discuss this. By default, we have a connection timeout, we can't influence it, we have to wait until android tries to connect the mini

Amerlander commented 1 month ago

After three seconds of yell.ow circle anymation, show a popup/modal:

V1 and V2

Is the mini in bluetooth mode? Try AB + Reset

V3

Is the mini in bluetooth mode? Try tripple Reset

joernalraun commented 1 month ago

V1 and V2 Bluetooth available? Press AB + Reset

V3 Bluetooth available? Press three times Reset

Tsisar commented 3 weeks ago

Add 10-second connection timeout with notifiation for BLE service