/Zephyr-Core-3.4.0/samples/boards/nrf/mesh/onoff_level_lighting_vnd_app/src/mesh/ |
D | publisher.c | 43 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 …]
|
D | device_composition.c | 287 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/ |
D | large_comp_data_srv.c | 71 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()
|
D | cfg_srv.c | 402 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 …]
|
D | cfg_cli.c | 1094 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 …]
|
D | op_agg.c | 76 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()
|
D | dfu_metadata.c | 60 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()
|
D | health_cli.c | 308 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()
|
D | dfd_srv.c | 110 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 …]
|
D | sol_pdu_rpl_srv.c | 26 net_buf_simple_add_le16(&buf, range); in sol_rpl_status_rsp()
|
D | op_agg_srv.c | 42 net_buf_simple_add_le16(agg->sdu, elem); in handle_sequence()
|
D | msg.c | 32 net_buf_simple_add_le16(msg, opcode & 0xffff); in bt_mesh_model_msg_init()
|
D | priv_beacon_cli.c | 255 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()
|
D | blob_srv.c | 311 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()
|
D | sol_pdu_rpl_cli.c | 86 net_buf_simple_add_le16(msg, range); in sol_pdu_rpl_clear_pdu_create()
|
D | op_agg_cli.c | 139 net_buf_simple_add_le16(agg->sdu, elem_addr); in bt_mesh_op_agg_cli_seq_start()
|
D | priv_beacon_srv.c | 123 net_buf_simple_add_le16(&buf, net_idx); in node_id_status_rsp()
|
D | solicitation.c | 303 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()
|
D | large_comp_data_cli.c | 140 net_buf_simple_add_le16(&msg, offset); in data_get()
|
D | foundation.h | 160 net_buf_simple_add_le16(buf, idx1 | ((idx2 & 0x00f) << 12)); in key_idx_pack()
|
D | blob_cli.c | 643 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/ |
D | dfu.c | 185 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/ |
D | main.c | 190 net_buf_simple_add_le16(&ad_buf, BT_UUID_BROADCAST_AUDIO_VAL); in main()
|
/Zephyr-Core-3.4.0/subsys/bluetooth/audio/ |
D | bap_broadcast_source.c | 321 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/ |
D | bap_broadcast_source_test.c | 178 net_buf_simple_add_le16(&ad_buf, BT_UUID_BROADCAST_AUDIO_VAL); in setup_extended_adv()
|