micropython / micropython/micropython

ble support and encrypted characteristics

Open
#5,174 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement extmod
Dominant language
C
Stars
22.1k
Forks
9k
Avg merge
6d 4h
Merged PRs (30d)
16

Description

Are there plans for supporting encrypted characteristics in the new BLE API? In my use case I set a password into the BLE device and I don't want to send it in the clear. So my characteristic needs to be marked encrypted.

Not sure if this involves much code at the python level, it should be more along the lines of pushing the right flags down into the various implementations. The stacks will take care of the encrypt/decrypt.

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 tracing the new BLE API through its various implementations and identify where characteristic flags are passed to the underlying stacks. Verify how encrypted characteristics are represented and confirm that the password is not sent in cleartext; done means the supported BLE implementations accept and enforce the encrypted flag.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, python
Domain
api
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.