-
Notifications
You must be signed in to change notification settings - Fork 585
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bluetooth Download feature #4807
Comments
@pelikhan Use https://makecode.microbit.org/beta#editor has tha same result. And in beta, Macos also can't trigger a pairing-mode LED showing. |
Try going into “no pairing mode”. For the first flash, you need to do drag and drop. Still beta - UI needs love. |
Use https://makecode.microbit.org/beta?dbg=1 and open JavaScript console to see full logs |
Macos's console log for the first flash: I got your hint and the Macos's bluetooth download was done normally in beta UI! |
It is possible to flash the entire image but it takes much longer. Not supported yet. |
You can use the Android Microbit app for that. |
Use android microbit app to wireless DFU download the makecode beta build no-pairing-mode's hex, but still has a stucking after press "Download", LED always no change. |
I buy a Type-C OTG wire and do testing the result re-flashing (partial is fast) with Bluetooth is workable, but no pairing-mode LED is shown in downloading. |
This would be a great option! I tried it but the code is not flashed to the micro:bit. These were my steps:
I am on Chrome 71.0.3578.98 and Windows 10 |
Make sure to flash using USB at least once (we still need to support full flashing). |
Hi,
|
On windows, you need to enable the “no pairing” mode. |
I tried it on another micro:bit and it works! Both micro:bits have the same firmware... |
Are there different micro:bits? The first micro:bit didn't accept the code and the second did |
Could you add ?dbg=1 to the URL, open the javascript console (F12) and retry again. The output would be helpful to understand what's going on. |
Yesterday we did some experiments with the same micro:bits on Scratch and the micro:bit that gives problems with the Bluetooth flashing also refused to connect with Scratch link. The serial number on the micro:bit is 400854 1401 529826 1730 and the number on the back is V1.3B (which is th e same as on a micro:bit that does works) |
@pelikhan Do the errors I catched make any sense to you? |
Make sure to specify “no pairing” on windows. It might be a security setting. |
We checked that several times. It is strange because the micro:bits seems to be the same. Tommorow I will be at the BETT in London and I have the two micro:bits with me. Perhaps there is somebody wo can have a look. |
Looks like this is no longer working since MakeCode 2020 release microsoft/pxt-microbit#3283 |
I write code on MacOS 10.15.6 with Chrome 84.0.4147.89 (Official Build) (64-bit), the firmware version is 0253. I tried it but the code is not flashed to the micro:bit. These were my steps:
Nothing happened on the micro:bit. |
I encountered the same issue (bluetooth paring being successful while the downloading partially revised code only ending up with downloading .hex file locally) as @microboym has posted above. For myself, I tried this bluetooth download feature on: I have successfully paired and flashed codes from (a) iPad with the micro:bit app and I also confirmed that (b) the scratch link via bluetooth works on both of the environments (i) and (ii) above (this (b) may be irrelevant here though). Fully understand that this bluetooth download feature is on its experimental phase and grateful for the effort to enable code downloading without cable connection. Thank you. |
I overlooked the post by @microbit-mark on June 18 - sorry to see that this feature is no longer available on MakeCode 2020. Out of curiosity, I tried using the old version MakeCode, with which this feature successfully worked. |
How to use the old version MakeCode, @phoenixvane ? |
@microboym, please kindly see below for the way to use the previous version of MakeCode where the bluetooth download feature is still available.
https://support.microbit.org/support/solutions/articles/19000058445-makecode-editor-updates |
As documentation for downloading a project to Microbit via Bluetooth is not very clear, at least for someone that is trying for the first time, I have decided to put the steps that works fine for me, on a paper: Note: Prerequisites: Step 1: Create a new Microbit project in the previous editor version - v1 (the v2 currently doesn't work with Bluetooth Download extension) Step 2: Enable Bluetooth download extension Step 3: check No Pairing Required in Project Settings Step 4: Download this project to Microbit via cable (this is mandatory only for the first time, after that, this project can be updated via bluetooth) Step 5: Connect to Microbit via Bluetooth (this is necessary only when you open your project for first time) Step 6:Download the project to Microbit Enjoy! |
@adryannn do you know the root cause of this great "experimental" feature not working? |
It got broken while refactoring the webusb stack. |
@pelikhan, I was assuming the same, when I have discovered this in June. Thank you! |
When should we expect to see full flashing working? The reason I am asking is because cables might not connect, ( perhaps to due cable quality ) and having another way to write code would be grand. |
i am making project of smart car using microbit. i am sending data from mobile bluetooth terminal app to microbit using bluetooth uart service in that first time getting correct data but second time not getting correct data(some rules not followed by microbit). how to resolve ? |
@pelikhan does this experiment still work? |
Regrading connection between desktop to microbit via Bluetooth, , We like to know if this can be worked out we tried establishing connection as mentioned this github but we were unable to connect. Please help us with this. |
@pelikhan any plans to rev this for micro:bit V2? web-bluetooth is getting quite prevalent and with the 'triple tap reset to pair' change in CODAL I think the Ux for MakeCode-->micro:bit directly over Bluetooth will be really nice. lancaster-university/codal-microbit-v2@master...triple-reset-to-pair |
Not from me |
Can't get it to work on micro:bit v2.1? |
Bluetooth downloads don't work on my device |
Description
Download code wirelessly via Web Bluetooth. Supported for micro:bit currently.
How to enable it?
Pair Bluetooth
If you cannot see that button and you editor supports this experiment, go to About, then click Experiments and Bluetooth Download. If you cannot see this card, your editor does not support yet this feature.
Known issues
Needs initial drag & drop
This feature only supports partial flashing now. This means that you need to first drag and drop a .hex file using the USB cable; then you'll be able to update that same scripts using Bluetooth.
Pairing issues in windows
Use the "No Pairing" setting in the
Project Settings
for Windows.My micro:bit is stuck in pairing mode
Partial flashing failed to finish.
My micro:bit won't start after failed partial flashing?
Feedback
Do you use this feature? Is there something you'd like to change? Did you encounter issues? Please drop a comment on this issue to send us your feedback.
The text was updated successfully, but these errors were encountered: