Skip to content

Fix NRPA logic in bttester#2202

Open
szymon-czapracki wants to merge 2 commits intoapache:masterfrom
szymon-czapracki:nrpa_logic
Open

Fix NRPA logic in bttester#2202
szymon-czapracki wants to merge 2 commits intoapache:masterfrom
szymon-czapracki:nrpa_logic

Conversation

@szymon-czapracki
Copy link
Copy Markdown
Contributor

Fix NRPA logic with connectable/non-connectable options.
Fix reporting the current state of advertising so autopts sees actual states.

NRPA should only be allowed for non-connectable advertising.
The previous condition was inverted and rejected the valid case.

Reject NRPA only when advertising is connectable.
Set CONNECTABLE in current_settings based on the current advertising
parameters so controller_info reports the actual runtime state.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S Small PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants