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

Help text for BT_PERIPHERAL_PREF_MAX_INT wrong? #86817

Open
robertinant opened this issue Mar 9, 2025 · 2 comments
Open

Help text for BT_PERIPHERAL_PREF_MAX_INT wrong? #86817

robertinant opened this issue Mar 9, 2025 · 2 comments
Assignees

Comments

@robertinant
Copy link

robertinant commented Mar 9, 2025

config BT_PERIPHERAL_PREF_MAX_INT

range indicates 6 but help says 3200. Which is it? Or am I missing something?

config BT_PERIPHERAL_PREF_MAX_INT
	int "Peripheral preferred maximum connection interval in 1.25ms units"
	default 40
	range 6 $(UINT16_MAX) if !BT_CONN_PARAM_ANY
             ^^^
	help
	  Range 3200 to 65534 is invalid. 65535 represents no specific value.
                ^^^^

Same for BT_PERIPHERAL_PREF_MIN_INT

config BT_PERIPHERAL_PREF_MIN_INT

And one more for BT_PERIPHERAL_PREF_TIMEOUT

@robertinant robertinant changed the title Help text BT_PERIPHERAL_PREF_MAX_INT wrong? Help text for BT_PERIPHERAL_PREF_MAX_INT wrong? Mar 9, 2025
Copy link

github-actions bot commented Mar 9, 2025

Hi @robertinant! We appreciate you submitting your first issue for our open-source project. 🌟

Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙

@jhedberg
Copy link
Member

@robertinant I don't see the problem here. The documentation is talking about an invalid range, which is different for the Kconfig option range. It's not possible to represent multiple ranges using the Kconfig range directive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants