/Zephyr-latest/subsys/bluetooth/mesh/ |
D | priv_beacon_cli.c | 163 const struct bt_mesh_msg_rsp_ctx rsp_ctx = { in bt_mesh_priv_beacon_cli_set() local 178 return bt_mesh_msg_ackd_send(cli->model, &ctx, &buf, rsp ? &rsp_ctx : NULL); in bt_mesh_priv_beacon_cli_set() 184 const struct bt_mesh_msg_rsp_ctx rsp_ctx = { in bt_mesh_priv_beacon_cli_get() local 194 return bt_mesh_msg_ackd_send(cli->model, &ctx, &buf, val ? &rsp_ctx : NULL); in bt_mesh_priv_beacon_cli_get() 201 const struct bt_mesh_msg_rsp_ctx rsp_ctx = { in bt_mesh_priv_beacon_cli_gatt_proxy_set() local 218 return bt_mesh_msg_ackd_send(cli->model, &ctx, &buf, rsp ? &rsp_ctx : NULL); in bt_mesh_priv_beacon_cli_gatt_proxy_set() 224 const struct bt_mesh_msg_rsp_ctx rsp_ctx = { in bt_mesh_priv_beacon_cli_gatt_proxy_get() local 234 return bt_mesh_msg_ackd_send(cli->model, &ctx, &buf, val ? &rsp_ctx : NULL); in bt_mesh_priv_beacon_cli_gatt_proxy_get() 242 const struct bt_mesh_msg_rsp_ctx rsp_ctx = { in bt_mesh_priv_beacon_cli_node_id_set() local 261 return bt_mesh_msg_ackd_send(cli->model, &ctx, &buf, rsp ? &rsp_ctx : NULL); in bt_mesh_priv_beacon_cli_node_id_set() [all …]
|
D | brg_cfg_cli.c | 209 const struct bt_mesh_msg_rsp_ctx rsp_ctx = { in bt_mesh_brg_cfg_cli_get() local 218 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !status ? NULL : &rsp_ctx); in bt_mesh_brg_cfg_cli_get() 226 const struct bt_mesh_msg_rsp_ctx rsp_ctx = { in bt_mesh_brg_cfg_cli_set() local 236 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !status ? NULL : &rsp_ctx); in bt_mesh_brg_cfg_cli_set() 243 const struct bt_mesh_msg_rsp_ctx rsp_ctx = { in bt_mesh_brg_cfg_cli_table_size_get() local 252 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !size ? NULL : &rsp_ctx); in bt_mesh_brg_cfg_cli_table_size_get() 261 const struct bt_mesh_msg_rsp_ctx rsp_ctx = { in bt_mesh_brg_cfg_cli_table_add() local 290 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !rsp ? NULL : &rsp_ctx); in bt_mesh_brg_cfg_cli_table_add() 299 const struct bt_mesh_msg_rsp_ctx rsp_ctx = { in bt_mesh_brg_cfg_cli_table_remove() local 319 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !rsp ? NULL : &rsp_ctx); in bt_mesh_brg_cfg_cli_table_remove() [all …]
|
D | large_comp_data_cli.c | 131 const struct bt_mesh_msg_rsp_ctx rsp_ctx = { in data_get() local 142 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, rsp ? &rsp_ctx : NULL); in data_get()
|
D | rpr_cli.c | 424 struct net_buf_simple *buf, uint32_t rsp, void *rsp_ctx) in tx_wait() argument 429 err = bt_mesh_msg_ack_ctx_prepare(ack_ctx, rsp, srv->addr, rsp_ctx); in tx_wait()
|
D | cfg_cli.c | 1131 const struct bt_mesh_msg_rsp_ctx rsp_ctx = { in bt_mesh_cfg_cli_comp_data_get() local 1141 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !rsp && !comp ? NULL : &rsp_ctx); in bt_mesh_cfg_cli_comp_data_get() 1148 const struct bt_mesh_msg_rsp_ctx rsp_ctx = { in get_state_u8() local 1156 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !val ? NULL : &rsp_ctx); in get_state_u8() 1164 const struct bt_mesh_msg_rsp_ctx rsp_ctx = { in set_state_u8() local 1174 return bt_mesh_msg_ackd_send(cli->model, &ctx, &msg, !val ? NULL : &rsp_ctx); in set_state_u8()
|
/Zephyr-latest/tests/net/lib/coap/src/ |
D | main.c | 539 struct coap_block_context *rsp_ctx, in prepare_block1_response() argument 548 if (rsp_ctx->total_size == 0) { in prepare_block1_response() 549 coap_block_transfer_init(rsp_ctx, COAP_BLOCK_32, in prepare_block1_response() 553 r = coap_update_from_block(req, rsp_ctx); in prepare_block1_response() 564 r = coap_append_block1_option(rsp, rsp_ctx); in prepare_block1_response() 594 static void verify_block1_response(struct coap_block_context *rsp_ctx, in verify_block1_response() argument 597 zassert_equal(rsp_ctx->block_size, COAP_BLOCK_32, in verify_block1_response() 599 zassert_equal(rsp_ctx->current, in verify_block1_response() 602 zassert_equal(rsp_ctx->total_size, BLOCK_WISE_TRANSFER_SIZE_GET, in verify_block1_response() 609 struct coap_block_context rsp_ctx; in ZTEST() local [all …]
|