microbit-foundation / microbit-android

micro:bit official Android application code. The application is free to download from https://play.google.com/store/apps/details?id=com.samsung.microbit
Apache License 2.0
13 stars 10 forks source link

Pairing process is erratic in Android 9 #24

Open microbit-mark opened 3 years ago

microbit-mark commented 3 years ago

https://support.microbit.org/a/tickets/43035 https://support.microbit.org/a/tickets/45003

Describe the bug Using Android Bluetooth pairing and the serial Bouetooth app works as expect. Using the micro:bit Android app pairing. The app asks to enter a pattern, then that you will be promped to enter a PIN, then reports success, then on reset reports failure

To Reproduce Steps to reproduce the behaviour. e.g.:

On completion of Step 1 and releasing the micro:bit reset button: Micro:bit screen fills; then displays the bluetooth logo; then the unique pattern

After entering pattern and pressing “Pair” Says: “When asked for a PIN, press button A to enter code (you only have 30 seconds).” There is no place to enter a PIN!!

Says “You have successfully paired Please press reset button and you’re done.”

Upon pressing the reset button Says “Pairing unsuccessful Cannot pair with micro:bit. Retry?”

After completing the task the micro:bit displays the character that I have programmed it to display on successful connection, but that’s all. Following on from this the micro:bit is programmed to repeat a message that should be displayed by the Terminal app.

If I pair using the Android device pairing facility in Settings everything works as expected.

I have tried two different micro:bits with the same results.

The events listed above are the best I can do bearing in mind the speed at which things happen. It would be helpful if there were user controlled breakpoints.

Expected behavior

Screenshots/Recordings

micro:bit version

Device

Additional context Add any other context about the problem here.