Lines Matching refs:model

51 static int comp_data_status(const struct bt_mesh_model *model,  in comp_data_status()  argument
88 static uint8_t state_status_u8(const struct bt_mesh_model *model, in state_status_u8() argument
114 static int beacon_status(const struct bt_mesh_model *model, in beacon_status() argument
120 status = state_status_u8(model, ctx, buf, OP_BEACON_STATUS); in beacon_status()
129 static int ttl_status(const struct bt_mesh_model *model, in ttl_status() argument
135 status = state_status_u8(model, ctx, buf, OP_DEFAULT_TTL_STATUS); in ttl_status()
144 static int friend_status(const struct bt_mesh_model *model, in friend_status() argument
150 status = state_status_u8(model, ctx, buf, OP_FRIEND_STATUS); in friend_status()
159 static int gatt_proxy_status(const struct bt_mesh_model *model, in gatt_proxy_status() argument
166 status = state_status_u8(model, ctx, buf, OP_GATT_PROXY_STATUS); in gatt_proxy_status()
181 static int krp_status(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, in krp_status() argument
226 static int relay_status(const struct bt_mesh_model *model, in relay_status() argument
260 static int net_transmit_status(const struct bt_mesh_model *model, in net_transmit_status() argument
266 status = state_status_u8(model, ctx, buf, OP_NET_TRANSMIT_STATUS); in net_transmit_status()
280 static int net_key_status(const struct bt_mesh_model *model, in net_key_status() argument
348 static int net_key_list(const struct bt_mesh_model *model, in net_key_list() argument
384 static int node_reset_status(const struct bt_mesh_model *model, in node_reset_status() argument
415 static int app_key_status(const struct bt_mesh_model *model, in app_key_status() argument
464 static int app_key_list(const struct bt_mesh_model *model, in app_key_list() argument
524 static int mod_app_status(const struct bt_mesh_model *model, in mod_app_status() argument
698 static int mod_app_list(const struct bt_mesh_model *model, in mod_app_list() argument
707 static int mod_app_list_vnd(const struct bt_mesh_model *model, in mod_app_list_vnd() argument
725 static int mod_pub_status(const struct bt_mesh_model *model, in mod_pub_status() argument
810 static int mod_sub_status(const struct bt_mesh_model *model, in mod_sub_status() argument
869 static int mod_sub_list(const struct bt_mesh_model *model, in mod_sub_list() argument
878 static int mod_sub_list_vnd(const struct bt_mesh_model *model, in mod_sub_list_vnd() argument
893 static int hb_sub_status(const struct bt_mesh_model *model, in hb_sub_status() argument
937 static int hb_pub_status(const struct bt_mesh_model *model, in hb_pub_status() argument
982 static int node_identity_status(const struct bt_mesh_model *model, in node_identity_status() argument
1023 static int lpn_timeout_status(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, in lpn_timeout_status() argument
1090 static int cfg_cli_init(const struct bt_mesh_model *model) in cfg_cli_init() argument
1092 if (!bt_mesh_model_in_primary(model)) { in cfg_cli_init()
1097 if (!model->rt->user_data) { in cfg_cli_init()
1102 cli = model->rt->user_data; in cfg_cli_init()
1103 cli->model = model; in cfg_cli_init()
1110 model->keys[0] = BT_MESH_KEY_DEV_ANY; in cfg_cli_init()
1111 model->rt->flags |= BT_MESH_MOD_DEVKEY_ONLY; in cfg_cli_init()
1141 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !rsp && !comp ? NULL : &rsp_ctx); in bt_mesh_cfg_cli_comp_data_get()
1156 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !val ? NULL : &rsp_ctx); in get_state_u8()
1174 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !val ? NULL : &rsp_ctx); in set_state_u8()
1202 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !status && !phase ? NULL : &rsp); in bt_mesh_cfg_cli_krp_get()
1226 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !status && !phase ? NULL : &rsp); in bt_mesh_cfg_cli_krp_set()
1293 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !status && !transmit ? NULL : &rsp); in bt_mesh_cfg_cli_relay_get()
1316 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !status && !transmit ? NULL : &rsp); in bt_mesh_cfg_cli_relay_set()
1339 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !status ? NULL : &rsp); in bt_mesh_cfg_cli_net_key_add()
1362 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !status ? NULL : &rsp); in bt_mesh_cfg_cli_net_key_update()
1382 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !keys && !key_cnt ? NULL : &rsp); in bt_mesh_cfg_cli_net_key_get()
1404 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !status ? NULL : &rsp); in bt_mesh_cfg_cli_net_key_del()
1428 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !status ? NULL : &rsp); in bt_mesh_cfg_cli_app_key_add()
1452 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !status ? NULL : &rsp); in bt_mesh_cfg_cli_app_key_update()
1473 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !status ? NULL : &rsp); in bt_mesh_cfg_cli_node_reset()
1497 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, in bt_mesh_cfg_cli_app_key_get()
1521 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !status ? NULL : &rsp); in bt_mesh_cfg_cli_app_key_del()
1553 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !status ? NULL : &rsp); in mod_app_bind()
1602 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !status ? NULL : &rsp); in mod_app_unbind()
1655 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, in mod_member_list_get()
1710 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !status ? NULL : &rsp); in mod_sub()
1835 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !status && !virt_addr ? NULL : &rsp); in mod_sub_va()
1946 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !status && !pub ? NULL : &rsp); in mod_pub_get()
2001 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !status ? NULL : &rsp); in mod_pub_set()
2039 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !status ? NULL : &rsp); in mod_pub_va_set()
2102 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !status ? NULL : &rsp); in bt_mesh_cfg_cli_hb_sub_set()
2123 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !status && !sub ? NULL : &rsp); in bt_mesh_cfg_cli_hb_sub_get()
2154 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !status ? NULL : &rsp); in bt_mesh_cfg_cli_hb_pub_set()
2175 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !status && !pub ? NULL : &rsp); in bt_mesh_cfg_cli_hb_pub_get()
2199 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !status && !identity ? NULL : &rsp); in bt_mesh_cfg_cli_node_identity_set()
2222 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !status && !identity ? NULL : &rsp); in bt_mesh_cfg_cli_node_identity_get()
2244 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !polltimeout ? NULL : &rsp); in bt_mesh_cfg_cli_lpn_timeout_get()