-
-
Notifications
You must be signed in to change notification settings - Fork 103
Description
Describe the bug
When lots of users start to use microbit in App Inventor, they get used to manipulate .hex code and don't realize that their .hex code disables blue tooth service accidentally. App Inventor works with Microbit through blue tooth LE extension, App crashes when it tries to connect to microbit through blue tooth LE while blue tooth service is not available in the microbit. We should display an error message and remind users to enable blue tooth service in the device when that happens instead of crashing the companion, which puzzles users.
Affects
- Designer
- Blocks editor
- [ x] Companion
- Compiled apps
- Buildserver
- Debugging
- Other... (please describe)
Expected behavior
Use the attached the .hex code and .aia project file. App Inventor should gracefully let users know that blue tooth service in microbit is not available instead of crashing.
Steps to reproduce
Upload the attached .hex code to microbit and use the attached . aia project file.
open the project file in App Inventor.
click the scan button
click the stop scanning button
Select your microbit device discovered by App Inventor
click connect
Companion disappears.