microsoft / pxt-microbit

A Blocks / JavaScript code editor for the micro:bit built on Microsoft MakeCode
https://makecode.microbit.org
Other
715 stars 588 forks source link

Experimental Bluetooth Download not working in V2 #3891

Open ngammarano opened 3 years ago

ngammarano commented 3 years ago

Describe the bug

The experimental feature "Bluetooth Download" is not working in micro:bit V2.

To reproduce

Steps to reproduce the behavior:

  1. Open this project in MakeCode. It is a test project that prints "Hello World", with Bluetooth configuration "No Pairing Required".
  2. Program the HEX file associated to this project to the micro:bit using USB drag and drop.
  3. Now open this project in MakeCode. It is a "catch the dot" game, with Bluetooth configuration "No Pairing Required".
  4. Enable the experimental feature Bluetooth Download in MakeCode (go to "More..." > "About..." > "Experiments").
  5. Reset the micro:bit while pressing A+B (a LED animation appears and then the Bluetooth logo).
  6. Go to "More..." (gear symbol) > "Pair Bluetooth" and then select the micro:bit.
  7. Check the Bluetooth icon appears in the browser tab. Click "Download".
  8. See error: instead of flashing the program via Bluetooth, the HEX file is downloaded to the computer.

This happens just with micro:bit V2. With micro:bit V1, it works as expected.

Expected behavior

In step 8. the program should have been flashed to the micro:bit via Bluetooth. As with micro:bit V1.

martinwork commented 3 years ago

Related: https://github.com/microsoft/pxt-microbit/issues/3283

omdathetkan commented 3 years ago

Are there any plans to get this fixed? Especially with any kind of robot kit not having to plug in on every iteration would be very practical.

Shadow-Flash commented 2 years ago

This is working in Windows I guess as I have macbook air 2017 (macOS monterey) both micro:bit v1.5 and v2 not working with bluetooth. Any help! @martinwork