microsoft / microsoft/pxt-microbit
Experimental Bluetooth Download not working in V2
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 804
- Forks
- 721
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 2
Description
Describe the bug
The experimental feature "Bluetooth Download" is not working in micro:bit V2.
To reproduce
Steps to reproduce the behavior:
- Open this project in MakeCode. It is a test project that prints "Hello World", with Bluetooth configuration "No Pairing Required".
- Program the HEX file associated to this project to the micro:bit using USB drag and drop.
- Now open this project in MakeCode. It is a "catch the dot" game, with Bluetooth configuration "No Pairing Required".
- Enable the experimental feature Bluetooth Download in MakeCode (go to "More..." > "About..." > "Experiments").
- Reset the micro:bit while pressing A+B (a LED animation appears and then the Bluetooth logo).
- Go to "More..." (gear symbol) > "Pair Bluetooth" and then select the micro:bit.
- Check the Bluetooth icon appears in the browser tab. Click "Download".
- 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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with the linked MakeCode projects on a micro:bit V2, following the Bluetooth Download experiment steps and confirming that Download saves a HEX file instead of flashing it. Compare the same flow on micro:bit V1 and trace the Bluetooth Download and Download actions to identify where the V2 path diverges; done means the program flashes over Bluetooth as it does on V1.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100