Lines Matching full:model
33 static void comp_data_status(struct bt_mesh_model *model, in comp_data_status() argument
58 static void state_status_u8(struct bt_mesh_model *model, in state_status_u8() argument
81 static void beacon_status(struct bt_mesh_model *model, in beacon_status() argument
85 state_status_u8(model, ctx, buf, OP_BEACON_STATUS); in beacon_status()
88 static void ttl_status(struct bt_mesh_model *model, in ttl_status() argument
92 state_status_u8(model, ctx, buf, OP_DEFAULT_TTL_STATUS); in ttl_status()
95 static void friend_status(struct bt_mesh_model *model, in friend_status() argument
99 state_status_u8(model, ctx, buf, OP_FRIEND_STATUS); in friend_status()
102 static void gatt_proxy_status(struct bt_mesh_model *model, in gatt_proxy_status() argument
106 state_status_u8(model, ctx, buf, OP_GATT_PROXY_STATUS); in gatt_proxy_status()
114 static void relay_status(struct bt_mesh_model *model, in relay_status() argument
141 static void net_key_status(struct bt_mesh_model *model, in net_key_status() argument
180 static void app_key_status(struct bt_mesh_model *model, in app_key_status() argument
221 static void mod_app_status(struct bt_mesh_model *model, in mod_app_status() argument
234 BT_WARN("Unexpected Model App Status message"); in mod_app_status()
254 BT_WARN("Model App Status parameters did not match"); in mod_app_status()
273 static void mod_pub_status(struct bt_mesh_model *model, in mod_pub_status() argument
286 BT_WARN("Unexpected Model Pub Status message"); in mod_pub_status()
293 BT_WARN("Unexpected Mod Pub Status with SIG Model"); in mod_pub_status()
301 BT_WARN("Unexpected Mod Pub Status with Vendor Model"); in mod_pub_status()
310 BT_WARN("Mod Pub Model ID or Company ID mismatch"); in mod_pub_status()
318 BT_WARN("Model Pub Status for unexpected element (0x%04x)", in mod_pub_status()
349 static void mod_sub_status(struct bt_mesh_model *model, in mod_sub_status() argument
362 BT_WARN("Unexpected Model Subscription Status message"); in mod_sub_status()
382 BT_WARN("Model Subscription Status parameters did not match"); in mod_sub_status()
402 static void hb_sub_status(struct bt_mesh_model *model, in hb_sub_status() argument
436 static void hb_pub_status(struct bt_mesh_model *model, in hb_pub_status() argument
543 err = bt_mesh_model_send(cli->model, &ctx, msg, NULL, NULL); in bt_mesh_cfg_comp_data_get()
575 err = bt_mesh_model_send(cli->model, &ctx, msg, NULL, NULL); in get_state_u8()
608 err = bt_mesh_model_send(cli->model, &ctx, msg, NULL, NULL); in set_state_u8()
693 err = bt_mesh_model_send(cli->model, &ctx, msg, NULL, NULL); in bt_mesh_cfg_relay_get()
731 err = bt_mesh_model_send(cli->model, &ctx, msg, NULL, NULL); in bt_mesh_cfg_relay_set()
769 err = bt_mesh_model_send(cli->model, &ctx, msg, NULL, NULL); in bt_mesh_cfg_net_key_add()
814 err = bt_mesh_model_send(cli->model, &ctx, msg, NULL, NULL); in bt_mesh_cfg_app_key_add()
867 err = bt_mesh_model_send(cli->model, &ctx, msg, NULL, NULL); in mod_app_bind()
938 err = bt_mesh_model_send(cli->model, &ctx, msg, NULL, NULL); in mod_sub()
1052 err = bt_mesh_model_send(cli->model, &ctx, msg, NULL, NULL); in mod_sub_va()
1167 err = bt_mesh_model_send(cli->model, &ctx, msg, NULL, NULL); in mod_pub_get()
1244 err = bt_mesh_model_send(cli->model, &ctx, msg, NULL, NULL); in mod_pub_set()
1307 err = bt_mesh_model_send(cli->model, &ctx, msg, NULL, NULL); in bt_mesh_cfg_hb_sub_set()
1348 err = bt_mesh_model_send(cli->model, &ctx, msg, NULL, NULL); in bt_mesh_cfg_hb_sub_get()
1394 err = bt_mesh_model_send(cli->model, &ctx, msg, NULL, NULL); in bt_mesh_cfg_hb_pub_set()
1435 err = bt_mesh_model_send(cli->model, &ctx, msg, NULL, NULL); in bt_mesh_cfg_hb_pub_get()
1463 int bt_mesh_cfg_cli_init(struct bt_mesh_model *model, bool primary) in bt_mesh_cfg_cli_init() argument
1472 if (!model->user_data) { in bt_mesh_cfg_cli_init()
1477 cli = model->user_data; in bt_mesh_cfg_cli_init()
1478 cli->model = model; in bt_mesh_cfg_cli_init()
1480 /* Configuration Model security is device-key based */ in bt_mesh_cfg_cli_init()
1481 model->keys[0] = BT_MESH_KEY_DEV; in bt_mesh_cfg_cli_init()