adafruit / adafruit/Adafruit_nRF52_Arduino

Whitelist BLE advertising

Open
#620 3 comments 3 reactions 0 assignees View on GitHub
Feature
Dominant language
C
Stars
699
Forks
570
PR merge metrics
No merged PRs in 30d

Description

Currently when advertising the library accepts connections from any device. It would be nice to be able to use the whitelist feature to restrict the incoming connections to previously bonded peers only. That way it would be possible to replicate the behavior of most consumer Bluetooth devices, where they normally only connect with known peers and you have to specifically request pairing mode by pressing a dedicated button.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the BLE advertising and whitelist support in the library, then trace how bonded peers are represented and checked during incoming connections. Confirm the expected behavior for advertising with whitelist mode enabled: previously bonded peers can connect, while unknown devices cannot unless pairing mode is explicitly requested.

Written by the indexing model from the issue text.

Assessment

Tech stack
arduino, c
Domain
embedded-iot
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.