Home
last modified time | relevance | path

Searched refs:net_buf_simple_add_le16 (Results 1 – 25 of 37) sorted by relevance

12

/Zephyr-Core-3.4.0/samples/boards/nrf/mesh/onoff_level_lighting_vnd_app/src/mesh/
Dpublisher.c43 net_buf_simple_add_le16(vnd_models[0].pub->msg, 0x0001); in publish()
65 net_buf_simple_add_le16(vnd_models[0].pub->msg, 0x0000); in publish()
73 net_buf_simple_add_le16(root_models[5].pub->msg, LEVEL_S25); in publish()
89 net_buf_simple_add_le16(root_models[5].pub->msg, 655); in publish()
97 net_buf_simple_add_le16(root_models[13].pub->msg, LEVEL_U25); in publish()
106 net_buf_simple_add_le16(root_models[16].pub->msg, LEVEL_U25); in publish()
109 net_buf_simple_add_le16(root_models[16].pub->msg, 0x0320); in publish()
111 net_buf_simple_add_le16(root_models[16].pub->msg, 0x0000); in publish()
118 net_buf_simple_add_le16(root_models[16].pub->msg, LEVEL_U25); in publish()
121 net_buf_simple_add_le16(root_models[16].pub->msg, 0x0320); in publish()
[all …]
Ddevice_composition.c287 net_buf_simple_add_le16(msg, (int16_t) get_current(LEVEL_LIGHT)); in gen_level_get()
295 net_buf_simple_add_le16(msg, (int16_t) get_target(LEVEL_LIGHT)); in gen_level_get()
317 net_buf_simple_add_le16(msg, (int16_t) get_current(LEVEL_LIGHT)); in gen_level_publish()
321 net_buf_simple_add_le16(msg, (int16_t) get_target(LEVEL_LIGHT)); in gen_level_publish()
1000 net_buf_simple_add_le16(msg, state->current); in vnd_get()
1070 net_buf_simple_add_le16(msg, (uint16_t) get_current(ACTUAL)); in light_lightness_get()
1078 net_buf_simple_add_le16(msg, (uint16_t) get_target(ACTUAL)); in light_lightness_get()
1100 net_buf_simple_add_le16(msg, (uint16_t) get_current(ACTUAL)); in light_lightness_publish()
1104 net_buf_simple_add_le16(msg, (uint16_t) get_target(ACTUAL)); in light_lightness_publish()
1257 net_buf_simple_add_le16(msg, (uint16_t) get_current(LINEAR)); in light_lightness_linear_get()
[all …]
/Zephyr-Core-3.4.0/subsys/bluetooth/mesh/
Dlarge_comp_data_srv.c71 net_buf_simple_add_le16(&rsp, offset); in handle_large_comp_data_get()
72 net_buf_simple_add_le16(&rsp, total_size); in handle_large_comp_data_get()
117 net_buf_simple_add_le16(&rsp, offset); in handle_models_metadata_get()
130 net_buf_simple_add_le16(&rsp, total_size); in handle_models_metadata_get()
Dcfg_srv.c402 net_buf_simple_add_le16(&msg, get_idx); in app_key_get()
418 net_buf_simple_add_le16(&msg, app_idx[i]); in app_key_get()
669 net_buf_simple_add_le16(&msg, elem_addr); in send_mod_pub_status()
676 net_buf_simple_add_le16(&msg, pub_addr); in send_mod_pub_status()
679 net_buf_simple_add_le16(&msg, idx_cred); in send_mod_pub_status()
933 net_buf_simple_add_le16(&msg, elem_addr); in send_mod_sub_status()
934 net_buf_simple_add_le16(&msg, sub_addr); in send_mod_sub_status()
1259 net_buf_simple_add_le16(visit->msg, mod->groups[i]); in mod_sub_list_visitor()
1293 net_buf_simple_add_le16(&msg, addr); in mod_sub_get()
1294 net_buf_simple_add_le16(&msg, id); in mod_sub_get()
[all …]
Dcfg_cli.c1094 net_buf_simple_add_le16(&msg, key_net_idx); in bt_mesh_cfg_cli_krp_get()
1116 net_buf_simple_add_le16(&msg, key_net_idx); in bt_mesh_cfg_cli_krp_set()
1229 net_buf_simple_add_le16(&msg, key_net_idx); in bt_mesh_cfg_cli_net_key_add()
1252 net_buf_simple_add_le16(&msg, key_net_idx); in bt_mesh_cfg_cli_net_key_update()
1295 net_buf_simple_add_le16(&msg, key_net_idx); in bt_mesh_cfg_cli_net_key_del()
1388 net_buf_simple_add_le16(&msg, key_net_idx); in bt_mesh_cfg_cli_app_key_get()
1437 net_buf_simple_add_le16(&msg, elem_addr); in mod_app_bind()
1438 net_buf_simple_add_le16(&msg, mod_app_idx); in mod_app_bind()
1441 net_buf_simple_add_le16(&msg, cid); in mod_app_bind()
1444 net_buf_simple_add_le16(&msg, mod_id); in mod_app_bind()
[all …]
Dop_agg.c76 net_buf_simple_add_le16(&srcs, src); in bt_mesh_op_agg_send()
93 net_buf_simple_add_le16(agg_ctx.sdu, (msg->len << 1) | 1); in bt_mesh_op_agg_encode_msg()
Ddfu_metadata.c60 net_buf_simple_add_le16(buf, metadata->fw_ver.revision); in bt_mesh_dfu_metadata_encode()
65 net_buf_simple_add_le16(buf, metadata->elems); in bt_mesh_dfu_metadata_encode()
Dhealth_cli.c308 net_buf_simple_add_le16(&msg, cid); in bt_mesh_health_cli_fault_test()
327 net_buf_simple_add_le16(&msg, cid); in bt_mesh_health_cli_fault_test_unack()
345 net_buf_simple_add_le16(&msg, cid); in bt_mesh_health_cli_fault_clear()
364 net_buf_simple_add_le16(&msg, cid); in bt_mesh_health_cli_fault_clear_unack()
382 net_buf_simple_add_le16(&msg, cid); in bt_mesh_health_cli_fault_get()
Ddfd_srv.c110 net_buf_simple_add_le16(&buf, srv->target_cnt); in receivers_status_rsp()
176 net_buf_simple_add_le16(&rsp, srv->target_cnt); in handle_receivers_get()
177 net_buf_simple_add_le16(&rsp, first); in handle_receivers_get()
217 net_buf_simple_add_le16(&rsp, CONFIG_BT_MESH_DFD_SRV_TARGETS_MAX); in handle_capabilities_get()
218 net_buf_simple_add_le16(&rsp, CONFIG_BT_MESH_DFU_SLOT_CNT); in handle_capabilities_get()
248 net_buf_simple_add_le16(&rsp, srv->inputs.group); in status_rsp()
249 net_buf_simple_add_le16(&rsp, srv->inputs.app_idx); in status_rsp()
251 net_buf_simple_add_le16(&rsp, srv->inputs.timeout_base); in status_rsp()
254 net_buf_simple_add_le16(&rsp, srv->slot_idx); in status_rsp()
511 net_buf_simple_add_le16(&rsp, bt_mesh_dfu_slot_foreach(NULL, NULL)); in fw_status_rsp()
[all …]
Dsol_pdu_rpl_srv.c26 net_buf_simple_add_le16(&buf, range); in sol_rpl_status_rsp()
Dop_agg_srv.c42 net_buf_simple_add_le16(agg->sdu, elem); in handle_sequence()
Dmsg.c32 net_buf_simple_add_le16(msg, opcode & 0xffff); in bt_mesh_model_msg_init()
Dpriv_beacon_cli.c255 net_buf_simple_add_le16(&buf, val->net_idx); in bt_mesh_priv_beacon_cli_node_id_set()
275 net_buf_simple_add_le16(&buf, key_net_idx); in bt_mesh_priv_beacon_cli_node_id_get()
Dblob_srv.c311 net_buf_simple_add_le16(&buf, srv->state.mtu_size); in xfer_status_rsp()
354 net_buf_simple_add_le16(&buf, srv->block.number); in block_status_rsp()
355 net_buf_simple_add_le16(&buf, srv->state.xfer.chunk_size); in block_status_rsp()
782 net_buf_simple_add_le16(&rsp, CONFIG_BT_MESH_BLOB_CHUNK_COUNT_MAX); in handle_info_get()
783 net_buf_simple_add_le16(&rsp, CHUNK_SIZE_MAX); in handle_info_get()
785 net_buf_simple_add_le16(&rsp, MTU_SIZE_MAX); in handle_info_get()
Dsol_pdu_rpl_cli.c86 net_buf_simple_add_le16(msg, range); in sol_pdu_rpl_clear_pdu_create()
Dop_agg_cli.c139 net_buf_simple_add_le16(agg->sdu, elem_addr); in bt_mesh_op_agg_cli_seq_start()
Dpriv_beacon_srv.c123 net_buf_simple_add_le16(&buf, net_idx); in node_id_status_rsp()
Dsolicitation.c303 net_buf_simple_add_le16(pdu, sys_cpu_to_be16(bt_mesh_primary_addr())); in sol_pdu_create()
305 net_buf_simple_add_le16(pdu, 0x0000); in sol_pdu_create()
Dlarge_comp_data_cli.c140 net_buf_simple_add_le16(&msg, offset); in data_get()
Dfoundation.h160 net_buf_simple_add_le16(buf, idx1 | ((idx2 & 0x00f) << 12)); in key_idx_pack()
Dblob_cli.c643 net_buf_simple_add_le16(&buf, BT_MESH_TX_SDU_MAX); in xfer_start_tx()
669 net_buf_simple_add_le16(&buf, cli->block.number); in block_start_tx()
670 net_buf_simple_add_le16(&buf, cli->xfer->chunk_size); in block_start_tx()
682 net_buf_simple_add_le16(&buf, cli->chunk_idx); in chunk_tx()
/Zephyr-Core-3.4.0/subsys/bluetooth/mesh/shell/
Ddfu.c185 net_buf_simple_add_le16(&dfu_comp_data, shell_strtoul(argv[i], 0, &err)); in cmd_dfu_comp_add()
224 net_buf_simple_add_le16(&dfu_comp_data, shell_strtoul(argv[1], 0, &err)); in cmd_dfu_comp_elem_add()
229 net_buf_simple_add_le16(&dfu_comp_data, shell_strtoul(argv[4 + i], 0, &err)); in cmd_dfu_comp_elem_add()
235 net_buf_simple_add_le16(&dfu_comp_data, shell_strtoul(argv[arg_i], 0, &err)); in cmd_dfu_comp_elem_add()
236 net_buf_simple_add_le16(&dfu_comp_data, shell_strtoul(argv[arg_i + 1], 0, &err)); in cmd_dfu_comp_elem_add()
/Zephyr-Core-3.4.0/samples/bluetooth/broadcast_audio_source/src/
Dmain.c190 net_buf_simple_add_le16(&ad_buf, BT_UUID_BROADCAST_AUDIO_VAL); in main()
/Zephyr-Core-3.4.0/subsys/bluetooth/audio/
Dbap_broadcast_source.c321 net_buf_simple_add_le16(buf, codec->cid); in encode_base_subgroup()
322 net_buf_simple_add_le16(buf, codec->vid); in encode_base_subgroup()
444 net_buf_simple_add_le16(buf, BT_UUID_BASIC_AUDIO_VAL); in encode_base()
/Zephyr-Core-3.4.0/tests/bsim/bluetooth/audio/src/
Dbap_broadcast_source_test.c178 net_buf_simple_add_le16(&ad_buf, BT_UUID_BROADCAST_AUDIO_VAL); in setup_extended_adv()

12