Bluetooth: Mesh: Rename mesh test primitives

Since testing.c/h was moved to mesh, all functions and
structs in those files now follow a bt_mesh_test_*
naming scheme to be consistent with the naming in Zephyr.

Due to missing includes in many files, this commit also
added some that were missing in order to build since
the order of includes have changed.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
Emil Gydesen 2024-08-23 12:46:25 +02:00 committed by Anas Nashif
commit 3e9197a58a
10 changed files with 96 additions and 95 deletions

View file

@ -1889,7 +1889,7 @@ static int mod_app_bind(const struct bt_mesh_model *model,
status = mod_bind(mod, key_app_idx);
if (IS_ENABLED(CONFIG_BT_TESTING) && status == STATUS_SUCCESS) {
bt_test_mesh_model_bound(ctx->addr, mod, key_app_idx);
bt_mesh_test_model_bound(ctx->addr, mod, key_app_idx);
}
send_status:
@ -1946,7 +1946,7 @@ static int mod_app_unbind(const struct bt_mesh_model *model,
status = mod_unbind(mod, key_app_idx, true);
if (IS_ENABLED(CONFIG_BT_TESTING) && status == STATUS_SUCCESS) {
bt_test_mesh_model_unbound(ctx->addr, mod, key_app_idx);
bt_mesh_test_model_unbound(ctx->addr, mod, key_app_idx);
}
send_status: