/Zephyr-Core-3.5.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.5.0/subsys/bluetooth/mesh/ |
D | large_comp_data_srv.c | 63 net_buf_simple_add_le16(&rsp, offset); in handle_large_comp_data_get() 75 net_buf_simple_add_le16(&rsp, temp_buf.len); in handle_large_comp_data_get() 86 net_buf_simple_add_le16(&rsp, total_size); in handle_large_comp_data_get() 132 net_buf_simple_add_le16(&rsp, offset); in handle_models_metadata_get() 145 net_buf_simple_add_le16(&rsp, total_size); in handle_models_metadata_get()
|
D | cfg_srv.c | 282 net_buf_simple_add_le16(buf, *idx); in key_idx_pack_list() 404 net_buf_simple_add_le16(&msg, get_idx); in app_key_get() 665 net_buf_simple_add_le16(&msg, elem_addr); in send_mod_pub_status() 672 net_buf_simple_add_le16(&msg, pub_addr); in send_mod_pub_status() 675 net_buf_simple_add_le16(&msg, idx_cred); in send_mod_pub_status() 930 net_buf_simple_add_le16(&msg, elem_addr); in send_mod_sub_status() 931 net_buf_simple_add_le16(&msg, sub_addr); in send_mod_sub_status() 1256 net_buf_simple_add_le16(visit->msg, mod->groups[i]); in mod_sub_list_visitor() 1290 net_buf_simple_add_le16(&msg, addr); in mod_sub_get() 1291 net_buf_simple_add_le16(&msg, id); in mod_sub_get() [all …]
|
D | op_agg.c | 69 net_buf_simple_add_le16(&srcs, src); in bt_mesh_op_agg_send() 87 net_buf_simple_add_le16(agg_ctx.sdu, (msg->len << 1) | 1); in bt_mesh_op_agg_encode_msg()
|
D | cfg_cli.c | 1199 net_buf_simple_add_le16(&msg, key_net_idx); in bt_mesh_cfg_cli_krp_get() 1221 net_buf_simple_add_le16(&msg, key_net_idx); in bt_mesh_cfg_cli_krp_set() 1334 net_buf_simple_add_le16(&msg, key_net_idx); in bt_mesh_cfg_cli_net_key_add() 1357 net_buf_simple_add_le16(&msg, key_net_idx); in bt_mesh_cfg_cli_net_key_update() 1400 net_buf_simple_add_le16(&msg, key_net_idx); in bt_mesh_cfg_cli_net_key_del() 1493 net_buf_simple_add_le16(&msg, key_net_idx); in bt_mesh_cfg_cli_app_key_get() 1542 net_buf_simple_add_le16(&msg, elem_addr); in mod_app_bind() 1543 net_buf_simple_add_le16(&msg, mod_app_idx); in mod_app_bind() 1546 net_buf_simple_add_le16(&msg, cid); in mod_app_bind() 1549 net_buf_simple_add_le16(&msg, mod_id); in mod_app_bind() [all …]
|
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() 260 net_buf_simple_add_le16(&rsp, srv->inputs.group); in status_rsp() 261 net_buf_simple_add_le16(&rsp, srv->inputs.app_idx); in status_rsp() 263 net_buf_simple_add_le16(&rsp, srv->inputs.timeout_base); in status_rsp() 266 net_buf_simple_add_le16(&rsp, srv->slot_idx); in status_rsp() 683 net_buf_simple_add_le16(&rsp, bt_mesh_dfu_slot_count()); 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 | solicitation.c | 307 net_buf_simple_add_le16(pdu, sys_cpu_to_be16(bt_mesh_primary_addr())); in sol_pdu_create() 309 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 | 159 net_buf_simple_add_le16(buf, idx1 | ((idx2 & 0x00f) << 12)); in key_idx_pack_pair()
|
D | priv_beacon_srv.c | 145 net_buf_simple_add_le16(&buf, net_idx); in node_id_status_rsp()
|
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.5.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.5.0/samples/bluetooth/tmap_bms/src/ |
D | cap_initiator.c | 154 net_buf_simple_add_le16(&ad_buf, BT_UUID_BROADCAST_AUDIO_VAL); in setup_extended_adv_data()
|
/Zephyr-Core-3.5.0/subsys/bluetooth/audio/ |
D | bap_broadcast_source.c | 320 net_buf_simple_add_le16(buf, codec_cfg->cid); in encode_base_subgroup() 321 net_buf_simple_add_le16(buf, codec_cfg->vid); in encode_base_subgroup() 403 net_buf_simple_add_le16(buf, BT_UUID_BASIC_AUDIO_VAL); in encode_base()
|
/Zephyr-Core-3.5.0/samples/bluetooth/broadcast_audio_source/src/ |
D | main.c | 199 net_buf_simple_add_le16(&ad_buf, BT_UUID_BROADCAST_AUDIO_VAL); in main()
|