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

provisioner remove dependency of marco BLE_MESH_CDB #1939

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gavin-yy
Copy link
Contributor

@gavin-yy gavin-yy commented Dec 2, 2024

currently the provisioner feature depends on marco BLE_MESH_CDB. This dependency seems not be expected ?
This commit is trying to remove this dependency. Then the shell demo for linux as a mesh provisioner role without BLE_MESH_CDB and BLE_MESH_SETTINGS works.

BTW, BLE_MESH_CDB depends on BLE_MESH_SETTINGS, if BLE_MESH_SETTINGS is not enabled, it cause compiling error.
static void schedule_cdb_store(int flag)
{
atomic_set_bit(bt_mesh_cdb.flags, flag);
bt_mesh_settings_store_schedule(BT_MESH_SETTINGS_CDB_PENDING);
}
nimble/host/mesh/src/cdb.c:545: undefined reference to `bt_mesh_settings_store_schedule'

@github-actions github-actions bot added host size/S Small PR labels Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant