Lines Matching refs:model
21 static int handle_beacon_status(const struct bt_mesh_model *model, in handle_beacon_status() argument
59 static int handle_gatt_proxy_status(const struct bt_mesh_model *model, in handle_gatt_proxy_status() argument
89 static int handle_node_id_status(const struct bt_mesh_model *model, in handle_node_id_status() argument
137 static int priv_beacon_cli_init(const struct bt_mesh_model *model) in priv_beacon_cli_init() argument
139 if (!bt_mesh_model_in_primary(model)) { in priv_beacon_cli_init()
144 cli = model->rt->user_data; in priv_beacon_cli_init()
145 cli->model = model; in priv_beacon_cli_init()
147 model->keys[0] = BT_MESH_KEY_DEV_ANY; in priv_beacon_cli_init()
148 model->rt->flags |= BT_MESH_MOD_DEVKEY_ONLY; in priv_beacon_cli_init()
178 return bt_mesh_msg_ackd_send(cli->model, &ctx, &buf, rsp ? &rsp_ctx : NULL); in bt_mesh_priv_beacon_cli_set()
194 return bt_mesh_msg_ackd_send(cli->model, &ctx, &buf, val ? &rsp_ctx : NULL); in bt_mesh_priv_beacon_cli_get()
218 return bt_mesh_msg_ackd_send(cli->model, &ctx, &buf, rsp ? &rsp_ctx : NULL); in bt_mesh_priv_beacon_cli_gatt_proxy_set()
234 return bt_mesh_msg_ackd_send(cli->model, &ctx, &buf, val ? &rsp_ctx : NULL); in bt_mesh_priv_beacon_cli_gatt_proxy_get()
261 return bt_mesh_msg_ackd_send(cli->model, &ctx, &buf, rsp ? &rsp_ctx : NULL); in bt_mesh_priv_beacon_cli_node_id_set()
280 return bt_mesh_msg_ackd_send(cli->model, &ctx, &buf, val ? &rsp_ctx : NULL); in bt_mesh_priv_beacon_cli_node_id_get()