apache / apache/mynewt-nimble

Improve privacy mode handling

Open
#2,185 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C
Stars
893
Forks
512
Avg merge
13d 31m
Merged PRs (30d)
7

Description

Currently stack defaults to device privacy mode and allows applications to override this with ble_gap_set_priv_mode().
This means that application willing to use network privacy mode has to update mode after pairing and after bond information is loaded from storage.

This to improve:
- provide mynewt val that would allow to select default privacy mode
- persistently store privacy mode with rest of bonding information

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with ble_gap_set_priv_mode(), then trace where pairing and bond information are loaded and stored. Review how Mynewt configuration values are defined to locate the proposed default privacy-mode setting. Done means applications can select the default mode and the selected privacy mode persists with the bonding information.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot, networking, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.