Home
last modified time | relevance | path

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

12

/Zephyr-Core-3.5.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.5.0/subsys/bluetooth/mesh/
Dlarge_comp_data_srv.c63 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()
Dcfg_srv.c282 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 …]
Dop_agg.c69 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()
Dcfg_cli.c1199 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 …]
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()
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 …]
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()
Dsolicitation.c307 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()
Dlarge_comp_data_cli.c140 net_buf_simple_add_le16(&msg, offset); in data_get()
Dfoundation.h159 net_buf_simple_add_le16(buf, idx1 | ((idx2 & 0x00f) << 12)); in key_idx_pack_pair()
Dpriv_beacon_srv.c145 net_buf_simple_add_le16(&buf, net_idx); in node_id_status_rsp()
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.5.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.5.0/samples/bluetooth/tmap_bms/src/
Dcap_initiator.c154 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/
Dbap_broadcast_source.c320 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/
Dmain.c199 net_buf_simple_add_le16(&ad_buf, BT_UUID_BROADCAST_AUDIO_VAL); in main()

12