Open Thalley opened 4 days ago
I'd vote for option 3. We have no in-tree samples or tests that do CONFIG_BT_BONDABLE=n
so the upstream removal is at least simple. There should at the very least be a note in the migration guide about this, however.
I wonder if and how much optimization we can get for non-bondable devices with option 1 though. If there are significant RAM and ROM savings for be found for such simple devices, that may be the better approach.
If the choice ends up being between 2 and 3, then I'm strongly in favor of 3.
Is your enhancement proposal related to a problem? Please describe. The Kconfig is at the time of writing this defined as
However the use of the Kconfig option seems to be different that the text. The "main" use of the Kconfig option is
and
Today the Kconfig value only affect the default value of the
bondable
variable insmp.c
. Thus it is possible to setCONFIG_BT_BONDABLE=n
and then callbt_set_bondable(true)
.Describe the solution you'd like The Kconfig option should either
CONFIG_BT_BONDABLE=n
This option enables support for Bondable Mode.
part of the description (as being done in https://github.com/zephyrproject-rtos/zephyr/pull/78833)**Describe alternatives you've conside N/A
Additional context See discussions on this in https://github.com/zephyrproject-rtos/zephyr/pull/78833