Home
last modified time | relevance | path

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

12

/Zephyr-latest/samples/boards/nordic/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.c285 net_buf_simple_add_le16(msg, (int16_t) get_current(LEVEL_LIGHT)); in gen_level_get()
293 net_buf_simple_add_le16(msg, (int16_t) get_target(LEVEL_LIGHT)); in gen_level_get()
315 net_buf_simple_add_le16(msg, (int16_t) get_current(LEVEL_LIGHT)); in gen_level_publish()
319 net_buf_simple_add_le16(msg, (int16_t) get_target(LEVEL_LIGHT)); in gen_level_publish()
998 net_buf_simple_add_le16(msg, state->current); in vnd_get()
1068 net_buf_simple_add_le16(msg, (uint16_t) get_current(ACTUAL)); in light_lightness_get()
1076 net_buf_simple_add_le16(msg, (uint16_t) get_target(ACTUAL)); in light_lightness_get()
1098 net_buf_simple_add_le16(msg, (uint16_t) get_current(ACTUAL)); in light_lightness_publish()
1102 net_buf_simple_add_le16(msg, (uint16_t) get_target(ACTUAL)); in light_lightness_publish()
1255 net_buf_simple_add_le16(msg, (uint16_t) get_current(LINEAR)); in light_lightness_linear_get()
[all …]
/Zephyr-latest/subsys/bluetooth/mesh/
Dlarge_comp_data_srv.c64 net_buf_simple_add_le16(&rsp, offset); in handle_large_comp_data_get()
76 net_buf_simple_add_le16(&rsp, temp_buf.len); in handle_large_comp_data_get()
87 net_buf_simple_add_le16(&rsp, total_size); in handle_large_comp_data_get()
134 net_buf_simple_add_le16(&rsp, offset); in handle_models_metadata_get()
147 net_buf_simple_add_le16(&rsp, total_size); in handle_models_metadata_get()
Dbrg_cfg_srv.c63 net_buf_simple_add_le16(&msg, entry->addr1); in bridging_table_status_send()
64 net_buf_simple_add_le16(&msg, entry->addr2); in bridging_table_status_send()
145 net_buf_simple_add_le16(&msg, net_idx_filter); in bridged_subnets_get()
232 net_buf_simple_add_le16(&msg, start_id); in bridging_table_get()
250 net_buf_simple_add_le16(&msg, brg_tbl[i].addr1); in bridging_table_get()
251 net_buf_simple_add_le16(&msg, brg_tbl[i].addr2); in bridging_table_get()
272 net_buf_simple_add_le16(&msg, CONFIG_BT_MESH_BRG_TABLE_ITEMS_MAX); in bridging_table_size_get()
Dcfg_srv.c281 net_buf_simple_add_le16(buf, *idx); in key_idx_pack_list()
403 net_buf_simple_add_le16(&msg, get_idx); in app_key_get()
664 net_buf_simple_add_le16(&msg, elem_addr); in send_mod_pub_status()
671 net_buf_simple_add_le16(&msg, pub_addr); in send_mod_pub_status()
674 net_buf_simple_add_le16(&msg, idx_cred); in send_mod_pub_status()
929 net_buf_simple_add_le16(&msg, elem_addr); in send_mod_sub_status()
930 net_buf_simple_add_le16(&msg, sub_addr); in send_mod_sub_status()
1255 net_buf_simple_add_le16(visit->msg, mod->groups[i]); in mod_sub_list_visitor()
1289 net_buf_simple_add_le16(&msg, addr); in mod_sub_get()
1290 net_buf_simple_add_le16(&msg, id); in mod_sub_get()
[all …]
Dcfg_cli.c1200 net_buf_simple_add_le16(&msg, key_net_idx); in bt_mesh_cfg_cli_krp_get()
1223 net_buf_simple_add_le16(&msg, key_net_idx); in bt_mesh_cfg_cli_krp_set()
1336 net_buf_simple_add_le16(&msg, key_net_idx); in bt_mesh_cfg_cli_net_key_add()
1359 net_buf_simple_add_le16(&msg, key_net_idx); in bt_mesh_cfg_cli_net_key_update()
1402 net_buf_simple_add_le16(&msg, key_net_idx); in bt_mesh_cfg_cli_net_key_del()
1495 net_buf_simple_add_le16(&msg, key_net_idx); in bt_mesh_cfg_cli_app_key_get()
1544 net_buf_simple_add_le16(&msg, elem_addr); in mod_app_bind()
1545 net_buf_simple_add_le16(&msg, mod_app_idx); in mod_app_bind()
1548 net_buf_simple_add_le16(&msg, cid); in mod_app_bind()
1551 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()
Dbrg_cfg_cli.c287 net_buf_simple_add_le16(&msg, entry->addr1); in bt_mesh_brg_cfg_cli_table_add()
288 net_buf_simple_add_le16(&msg, entry->addr2); in bt_mesh_brg_cfg_cli_table_add()
316 net_buf_simple_add_le16(&msg, addr1); in bt_mesh_brg_cfg_cli_table_remove()
317 net_buf_simple_add_le16(&msg, addr2); in bt_mesh_brg_cfg_cli_table_remove()
336 net_buf_simple_add_le16(&msg, (filter_net_idx.filter | filter_net_idx.net_idx << 4)); in bt_mesh_brg_cfg_cli_subnets_get()
357 net_buf_simple_add_le16(&msg, start_idx); in bt_mesh_brg_cfg_cli_table_get()
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()
Dop_agg.c26 net_buf_simple_add_le16(buf, (msg->len << 1) | 1); in bt_mesh_op_agg_encode_msg()
Dop_agg_cli.c144 net_buf_simple_add_le16(cli.ctx.sdu, elem_addr); in bt_mesh_op_agg_cli_seq_start()
214 net_buf_simple_add_le16(&srcs, src); in bt_mesh_op_agg_cli_send()
Dsol_pdu_rpl_srv.c26 net_buf_simple_add_le16(&buf, range); in sol_rpl_status_rsp()
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 …]
Dmsg.c32 net_buf_simple_add_le16(msg, opcode & 0xffff); in bt_mesh_model_msg_init()
Dpriv_beacon_cli.c258 net_buf_simple_add_le16(&buf, val->net_idx); in bt_mesh_priv_beacon_cli_node_id_set()
278 net_buf_simple_add_le16(&buf, key_net_idx); in bt_mesh_priv_beacon_cli_node_id_get()
Dop_agg_srv.c51 net_buf_simple_add_le16(srv.ctx.sdu, elem); in handle_sequence()
Dblob_srv.c343 net_buf_simple_add_le16(&buf, srv->state.mtu_size); in xfer_status_rsp()
386 net_buf_simple_add_le16(&buf, srv->block.number); in block_status_rsp()
387 net_buf_simple_add_le16(&buf, srv->state.xfer.chunk_size); in block_status_rsp()
823 net_buf_simple_add_le16(&rsp, CONFIG_BT_MESH_BLOB_CHUNK_COUNT_MAX); in handle_info_get()
824 net_buf_simple_add_le16(&rsp, BLOB_RX_CHUNK_SIZE); in handle_info_get()
826 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()
Dsolicitation.c306 net_buf_simple_add_le16(pdu, sys_cpu_to_be16(bt_mesh_primary_addr())); in sol_pdu_create()
308 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.h172 net_buf_simple_add_le16(buf, idx1 | ((idx2 & 0x00f) << 12)); in key_idx_pack_pair()
/Zephyr-latest/subsys/bluetooth/audio/
Dpbp.c47 net_buf_simple_add_le16(pba_data_buf, BT_UUID_PBA_VAL); in bt_pbp_get_announcement()
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_proxy_sol.c164 net_buf_simple_add_le16(pdu, sys_cpu_to_be16(bt_mesh_primary_addr())); in sol_fixed_pdu_create()
165 net_buf_simple_add_le16(pdu, 0x0000); in sol_fixed_pdu_create()
/Zephyr-latest/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-latest/samples/bluetooth/cap_initiator/src/
Dcap_initiator_broadcast.c147 net_buf_simple_add_le16(&ad_buf, BT_UUID_BROADCAST_AUDIO_VAL); in setup_extended_adv_data()

12