microsoft / microsoft/pxt-microbit

Allow users to enter pairing mode with new block in control section

Open
#4,936 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ipad
Dominant language
TypeScript
Stars
804
Forks
721
Avg merge
2d 9h
Merged PRs (30d)
2

Description

Is your feature request related to a problem? Please describe.

The difficulty of entering pairing mode is tricky for some students eg
https://twitter.com/jerseyitguy/status/1622205053640622080

Furthermore, if building your micro:bit into a device and mounting it somewhere, it becomes hard to trigger pairing mode to update the code.

Describe the solution you'd like

Codal will soon have an event to allow entering pairing mode that's available in both radio and bluetooth mode:

See:
https://github.com/lancaster-university/microbit-dal/issues/392
https://github.com/lancaster-university/codal-microbit-v2/issues/263

Once this is implemented in CODAL, we'd like to expose a new block in 'control' in MakeCode that generates this event. It could either be a new block, or extend the 'reset' block
image

CC: @JohnVidler @whaleygeek

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked CODAL issues to confirm the pairing-mode event is available in both radio and Bluetooth modes. Then inspect the control section entry point and decide whether the feature should be a new block or extend the reset block; done means the selected block generates the pairing-mode event.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
embedded-iot, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.