Lines Matching full:model

18 static void bridge_status_send(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx)  in bridge_status_send()  argument
25 if (bt_mesh_model_send(model, ctx, &msg, NULL, NULL)) { in bridge_status_send()
30 static int subnet_bridge_get(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, in subnet_bridge_get() argument
33 bridge_status_send(model, ctx); in subnet_bridge_get()
38 static int subnet_bridge_set(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, in subnet_bridge_set() argument
48 bridge_status_send(model, ctx); in subnet_bridge_set()
53 static void bridging_table_status_send(const struct bt_mesh_model *model, in bridging_table_status_send() argument
66 if (bt_mesh_model_send(model, ctx, &msg, NULL, NULL)) { in bridging_table_status_send()
76 static int bridging_table_add(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, in bridging_table_add() argument
94 bridging_table_status_send(model, ctx, status, &entry); in bridging_table_add()
99 static int bridging_table_remove(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, in bridging_table_remove() argument
117 bridging_table_status_send(model, ctx, status, &entry); in bridging_table_remove()
122 static int bridged_subnets_get(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, in bridged_subnets_get() argument
205 if (bt_mesh_model_send(model, ctx, &msg, NULL, NULL)) { in bridged_subnets_get()
212 static int bridging_table_get(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, in bridging_table_get() argument
259 if (bt_mesh_model_send(model, ctx, &msg, NULL, NULL)) { in bridging_table_get()
266 static int bridging_table_size_get(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, in bridging_table_size_get() argument
274 if (bt_mesh_model_send(model, ctx, &msg, NULL, NULL)) { in bridging_table_size_get()
292 static int brg_cfg_srv_init(const struct bt_mesh_model *model) in brg_cfg_srv_init() argument
295 bt_mesh_model_find(bt_mesh_model_elem(model), BT_MESH_MODEL_ID_CFG_SRV); in brg_cfg_srv_init()
303 * Bridge Configuration Server model security is device key based and only the local in brg_cfg_srv_init()
304 * device key is allowed to access this model. in brg_cfg_srv_init()
306 model->keys[0] = BT_MESH_KEY_DEV_LOCAL; in brg_cfg_srv_init()
307 model->rt->flags |= BT_MESH_MOD_DEVKEY_ONLY; in brg_cfg_srv_init()
309 bt_mesh_model_extend(model, config_srv); in brg_cfg_srv_init()
314 void brg_cfg_srv_reset(const struct bt_mesh_model *model) in brg_cfg_srv_reset() argument