Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nimble/host: Modify Advertising Tx power levels #1815

Merged

Conversation

rahult-github
Copy link
Contributor

@rahult-github rahult-github commented Jul 30, 2024

For LE Read Advertising Physical Channel Tx Power command , different version of BLE specification have updated the return values for Tx Power level.

Currently (spec 5.2 onwards) the supported values are from (-127) to (20).

Latest values as per Spec ver 5.4 , Vol 4, Part E, section 7.8.6 has range specified.

Update the min / max macros to reflect the same

@andrzej-kaczmarek
Copy link
Contributor

this depends on core spec version so should be #ifdef

also if you refer to spec, please include reference to exact core spec version and section

@rahult-github rahult-github force-pushed the bugfix/adjust_tx_power_lvl_boundary branch from 6e75282 to 7f59b88 Compare July 30, 2024 12:54
@rahult-github
Copy link
Contributor Author

this depends on core spec version so should be #ifdef

also if you refer to spec, please include reference to exact core spec version and section

Thanks for this, have updated the PR to reflect different versions and updated the description too

Spec ver 5.4 , Vol 4, Part E, section 7.8.6 mentions the range value for
Tx power level.

Different BLE spec version have modified the range values that Tx Power level
can have. Update the min / max macros to reflect the same
@rahult-github rahult-github force-pushed the bugfix/adjust_tx_power_lvl_boundary branch from 7f59b88 to 9cb35ee Compare July 30, 2024 12:57
@sjanc sjanc merged commit 1f187b8 into apache:master Jul 31, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants