2019-09-27 15:53:26 +02:00
|
|
|
# Bluetooth
|
|
|
|
|
|
|
|
This page describes the procedure to download MakeCode program to the EV3 brick
|
|
|
|
over Bluetooth.
|
|
|
|
|
|
|
|
## ~ hint
|
|
|
|
|
|
|
|
### WARNING: EXPERIMENTAL FEATURES AHEAD!
|
|
|
|
|
|
|
|
Support for Bluetooth download relies on [Web Serial](https://wicg.github.io/serial/),
|
|
|
|
an experimental browser feature. Web Serial is a work [in progress](https://www.chromestatus.com/feature/6577673212002304);
|
|
|
|
it may change or be removed in future versions without notice.
|
|
|
|
|
|
|
|
By enabling these experimental browser features, you could lose browser data or compromise your device security
|
|
|
|
or privacy.
|
|
|
|
|
|
|
|
## ~
|
|
|
|
|
2019-09-27 20:43:04 +02:00
|
|
|
https://youtu.be/VIq8-6Egtqs
|
|
|
|
|
2019-09-27 15:53:26 +02:00
|
|
|
## Supported browsers
|
|
|
|
|
|
|
|
* Chrome desktop, version 77 and higher, Windows 10
|
|
|
|
* [Edge Insider desktop](https://www.microsoftedgeinsider.com), version 77 and higher, Windows 10
|
|
|
|
|
|
|
|
To make sure your browser is up to date, go to the '...' menu, click "Help" then "About".
|
|
|
|
|
2019-09-27 17:46:50 +02:00
|
|
|
Next you need to enable the experimental features (this may change in the future)
|
|
|
|
|
|
|
|
* go to **chrome://flags/#enable-experimental-web-platform-features** and **enable**
|
|
|
|
**Experimental Web Platform features**
|
2019-09-27 15:56:03 +02:00
|
|
|
|
2019-09-27 18:36:25 +02:00
|
|
|
![A screenshot of the flags page in chrome](/static/bluetooth/experimental.png)
|
|
|
|
|
2019-09-27 15:53:26 +02:00
|
|
|
## Machine Setup
|
|
|
|
|
|
|
|
* pair your EV3 brick with your computer over Bluetooth. This is the usual pairing procedure.
|
|
|
|
|
|
|
|
## Download over Bluetooth
|
|
|
|
|
|
|
|
* go to the **beta** editor https://makecode.mindstorms.com/beta
|
2019-09-27 17:46:50 +02:00
|
|
|
|
|
|
|
This feature is not yet released so make sure to use the beta editor.
|
|
|
|
|
2019-09-27 15:53:26 +02:00
|
|
|
* click on **Download** to start a file download as usual
|
|
|
|
* on the download dialog, you should see a **Bluetooth** button. Click on the
|
|
|
|
**Bluetooth** button to enable the mode.
|
|
|
|
* **make sure the EV3 brick is not running a program**
|
|
|
|
* click on **Download** again to download over bluetooth.
|
|
|
|
|
|
|
|
## Choosing the correct serial port
|
|
|
|
|
2019-09-27 17:46:50 +02:00
|
|
|
Unfortunately, the browser dialog does not make it easy to select which serial port is the brick.
|
2019-09-27 15:53:26 +02:00
|
|
|
On Windows, it typically reads "Standard Serial over Bluetooth" and you may
|
|
|
|
have multiple of those if you've paired different bricks.
|
|
|
|
|
2019-09-27 17:46:50 +02:00
|
|
|
## Known issues
|
|
|
|
|
|
|
|
* We do not detect properly that the program is running on the brick. Make sure to stop the program before starting the download procedure.
|
2019-09-27 18:25:46 +02:00
|
|
|
* The list of programs on the brick screen is not updated when uploading via bluetooth.
|
2019-09-27 17:46:50 +02:00
|
|
|
|
2019-09-27 15:53:26 +02:00
|
|
|
## Feedback
|
|
|
|
|
|
|
|
Please send us your feedback through https://forum.makecode.com.
|