microbit-foundation / microbit-swift-playgrounds

We've built a Swift Playground that lets you program the micro:bit. This also includes a Swift API for interacting with the micro:bit.
https://microbit.org/guide/swift-playgrounds/
Other
21 stars 8 forks source link

Pairing and/or BLE connection unstable #11

Open halspeed opened 6 years ago

halspeed commented 6 years ago

Periodically drops connection. Sometimes can reconnect after reset, sometimes requires repairing.

gary-atkinson commented 6 years ago

I have only just started to experience this in the last few weeks, until then the connection was stable. I assumed, as the connection tended to drop when moving the micro:bit, that my battery connector has become less reliable. However, in demonstrating over the weekend I replaced the batteries and the connection has returned to its previous stability. I noticed the LEDs were then noticeably brighter!

It may require a reset and then tapping 'Connect Again' on the Bluetooth Connection button but it should definitely not require repairing (re-pairing?)

Any other comments?

jaustin commented 6 years ago

@halspeed do you have this happening reliably on a particular micro:bit? There's a hex file here that measures battery voltage.

https://support.microbit.org/support/solutions/articles/19000069531-measuring-battery-capacity

@halspeed could you please run that on your micro:bit and report back the results?

If we find this is an issue, we will need to do some work to add battery knowledge into the DAL and Bluetooth profile, and then warn the user when the voltage is too low for good operation.

Here's a DAL issue discussing this. https://github.com/lancaster-university/microbit-dal/issues/322

gary-atkinson commented 5 years ago

Is this issue still relevant? Is there any user feedback reporting such as issue, if not can we close it?