Home
last modified time | relevance | path

Searched refs:BT_MESH_ADDR_UNASSIGNED (Results 1 – 25 of 36) sorted by relevance

12

/Zephyr-latest/subsys/bluetooth/mesh/
Dheartbeat.c49 if (sub.dst == BT_MESH_ADDR_UNASSIGNED) { in sub_remaining()
124 if (!tx.sub || pub.dst == BT_MESH_ADDR_UNASSIGNED) { in heartbeat_send()
180 pub.dst = BT_MESH_ADDR_UNASSIGNED; in hb_publish()
234 pub.dst = BT_MESH_ADDR_UNASSIGNED; in pub_disable()
250 if (!new_pub || new_pub->dst == BT_MESH_ADDR_UNASSIGNED) { in bt_mesh_hb_pub_set()
298 if (src != BT_MESH_ADDR_UNASSIGNED && !BT_MESH_ADDR_IS_UNICAST(src)) { in bt_mesh_hb_sub_set()
317 if (src == BT_MESH_ADDR_UNASSIGNED || dst == BT_MESH_ADDR_UNASSIGNED) { in bt_mesh_hb_sub_set()
318 sub.src = BT_MESH_ADDR_UNASSIGNED; in bt_mesh_hb_sub_set()
319 sub.dst = BT_MESH_ADDR_UNASSIGNED; in bt_mesh_hb_sub_set()
370 if (pub.dst == BT_MESH_ADDR_UNASSIGNED) { in bt_mesh_hb_feature_changed()
[all …]
Dcdb.c87 .addr = BT_MESH_ADDR_UNASSIGNED,
123 if (node->addr == BT_MESH_ADDR_UNASSIGNED) { in addr_is_free()
167 addr = BT_MESH_ADDR_UNASSIGNED; in find_lowest_free_addr()
581 if (update->addr == BT_MESH_ADDR_UNASSIGNED) { in cdb_node_update_find()
719 if (addr == BT_MESH_ADDR_UNASSIGNED) { in addr_assign()
722 return BT_MESH_ADDR_UNASSIGNED; in addr_assign()
726 return BT_MESH_ADDR_UNASSIGNED; in addr_assign()
770 if (bt_mesh_cdb.nodes[i].addr != BT_MESH_ADDR_UNASSIGNED) { in bt_mesh_cdb_clear()
909 if (addr == BT_MESH_ADDR_UNASSIGNED) { in bt_mesh_cdb_node_alloc()
916 if (node->addr == BT_MESH_ADDR_UNASSIGNED) { in bt_mesh_cdb_node_alloc()
[all …]
Dbrg_cfg.c250 (addr2 == BT_MESH_ADDR_UNASSIGNED || addr2 == BT_MESH_ADDR_ALL_NODES)) || in bt_mesh_brg_cfg_tbl_add()
321 if ((!BT_MESH_ADDR_IS_UNICAST(addr1) && addr1 != BT_MESH_ADDR_UNASSIGNED) || in bt_mesh_brg_cfg_tbl_remove()
351 (addr2 == BT_MESH_ADDR_UNASSIGNED && brg_tbl[i].addr1 == addr1) || in bt_mesh_brg_cfg_tbl_remove()
352 (addr1 == BT_MESH_ADDR_UNASSIGNED && brg_tbl[i].addr2 == addr2)) { in bt_mesh_brg_cfg_tbl_remove()
Dlpn.c262 lpn->old_friend = BT_MESH_ADDR_UNASSIGNED; in clear_friendship()
273 lpn->frnd = BT_MESH_ADDR_UNASSIGNED; in clear_friendship()
666 lpn->frnd = BT_MESH_ADDR_UNASSIGNED; in bt_mesh_lpn_friend_offer()
686 lpn->frnd = BT_MESH_ADDR_UNASSIGNED; in bt_mesh_lpn_friend_offer()
739 if (!free_slot && lpn->groups[i] == BT_MESH_ADDR_UNASSIGNED) { in lpn_group_add()
765 lpn->groups[i] = BT_MESH_ADDR_UNASSIGNED; in lpn_group_del()
811 if (lpn->groups[i] == BT_MESH_ADDR_UNASSIGNED) { in sub_update()
972 if (groups[i] != BT_MESH_ADDR_UNASSIGNED) { in bt_mesh_lpn_group_del()
1019 lpn->groups[i] = BT_MESH_ADDR_UNASSIGNED; in bt_mesh_lpn_friend_sub_cfm()
Dcfg_srv.c131 if (pub_addr == BT_MESH_ADDR_UNASSIGNED) { in _mod_pub_set()
132 if (model->pub->addr == BT_MESH_ADDR_UNASSIGNED) { in _mod_pub_set()
136 model->pub->addr = BT_MESH_ADDR_UNASSIGNED; in _mod_pub_set()
256 _mod_pub_set(model, BT_MESH_ADDR_UNASSIGNED, NULL, in mod_unbind()
818 if (mod->groups[i] != BT_MESH_ADDR_UNASSIGNED) { in mod_sub_list_clear()
819 mod->groups[i] = BT_MESH_ADDR_UNASSIGNED; in mod_sub_list_clear()
1000 entry = bt_mesh_model_find_group(&mod, BT_MESH_ADDR_UNASSIGNED); in mod_sub_add()
1082 *match = BT_MESH_ADDR_UNASSIGNED; in mod_sub_del()
1226 BT_MESH_ADDR_UNASSIGNED, mod_id, vnd); in mod_sub_del_all()
1245 if (mod->groups[i] == BT_MESH_ADDR_UNASSIGNED) { in mod_sub_list_visitor()
[all …]
Dva.c81 va->addr = BT_MESH_ADDR_UNASSIGNED; in bt_mesh_va_add()
132 (virtual_addrs[i].addr == addr || addr == BT_MESH_ADDR_UNASSIGNED)) { in bt_mesh_va_uuid_get()
Dmsg.c44 ack->dst = BT_MESH_ADDR_UNASSIGNED; in bt_mesh_msg_ack_ctx_clear()
Dbrg_cfg_cli.c50 if (!(table_status.entry.addr1 == BT_MESH_ADDR_UNASSIGNED || in table_status()
274 } else if (entry->directions == 0x01 && (entry->addr2 == BT_MESH_ADDR_UNASSIGNED || in bt_mesh_brg_cfg_cli_table_add()
306 if (!(addr1 == BT_MESH_ADDR_UNASSIGNED || BT_MESH_ADDR_IS_UNICAST(addr1))) { in bt_mesh_brg_cfg_cli_table_remove()
Dproxy_srv.c142 if (addr == BT_MESH_ADDR_UNASSIGNED) { in filter_add()
153 if (client->filter[i] == BT_MESH_ADDR_UNASSIGNED) { in filter_add()
166 if (addr == BT_MESH_ADDR_UNASSIGNED) { in filter_remove()
172 client->filter[i] = BT_MESH_ADDR_UNASSIGNED; in filter_remove()
191 tx.ctx->addr = BT_MESH_ADDR_UNASSIGNED; in send_filter_status()
205 if (client->filter[i] != BT_MESH_ADDR_UNASSIGNED) { in send_filter_status()
Drpr_cli.c189 cli->link.srv.addr = BT_MESH_ADDR_UNASSIGNED; in handle_link_status()
460 cli->link.srv.addr = BT_MESH_ADDR_UNASSIGNED; in link_reset()
621 if (cli->link.srv.addr == BT_MESH_ADDR_UNASSIGNED) { in link_close()
645 if (cli->link.srv.addr == BT_MESH_ADDR_UNASSIGNED) { in send()
713 if (cli->link.srv.addr != BT_MESH_ADDR_UNASSIGNED) { in pb_link_open()
Dsolicitation.c74 entry = srpl_find_by_addr(BT_MESH_ADDR_UNASSIGNED); in srpl_entry_save()
361 entry = srpl_find_by_addr(BT_MESH_ADDR_UNASSIGNED); in srpl_set()
Dtransport.c241 tx->src = BT_MESH_ADDR_UNASSIGNED; in seg_tx_reset()
242 tx->dst = BT_MESH_ADDR_UNASSIGNED; in seg_tx_reset()
243 tx->ack_src = BT_MESH_ADDR_UNASSIGNED; in seg_tx_reset()
678 if (tx->ctx->addr == BT_MESH_ADDR_UNASSIGNED || in bt_mesh_trans_send()
1086 if (tx->ctx->addr == BT_MESH_ADDR_UNASSIGNED || in bt_mesh_ctl_send()
1180 rx->src = BT_MESH_ADDR_UNASSIGNED; in seg_rx_reset()
1181 rx->dst = BT_MESH_ADDR_UNASSIGNED; in seg_rx_reset()
Daccess.c917 if (pub->addr == BT_MESH_ADDR_UNASSIGNED || in mod_publish()
1131 dev_primary_addr = BT_MESH_ADDR_UNASSIGNED; in bt_mesh_comp_unprovision()
1136 elem->rt->addr = BT_MESH_ADDR_UNASSIGNED; in bt_mesh_comp_unprovision()
1205 if (uuid == NULL && !model_group_get(mod, BT_MESH_ADDR_UNASSIGNED)) { in model_uuid_get()
1626 if (pub->addr == BT_MESH_ADDR_UNASSIGNED) { in bt_mesh_model_publish()
1962 mod->pub->addr = BT_MESH_ADDR_UNASSIGNED; in mod_set_pub()
2159 if (mod->groups[i] != BT_MESH_ADDR_UNASSIGNED) { in store_pending_mod_sub()
2219 if (!mod->pub || mod->pub->addr == BT_MESH_ADDR_UNASSIGNED) { in store_pending_mod_pub()
2630 mod->pub->addr != BT_MESH_ADDR_UNASSIGNED) { in commit_mod()
2657 if (mod->groups[i] != BT_MESH_ADDR_UNASSIGNED) { in commit_mod()
Dfriend.c95 if (frnd->lpn == BT_MESH_ADDR_UNASSIGNED) { in is_lpn_unicast()
311 if (frnd->sub_list[i] == BT_MESH_ADDR_UNASSIGNED) { in friend_sub_add()
331 frnd->sub_list[i] = BT_MESH_ADDR_UNASSIGNED; in friend_sub_rem()
841 if (frnd->clear.frnd == BT_MESH_ADDR_UNASSIGNED) { in clear_timeout()
851 frnd->clear.frnd = BT_MESH_ADDR_UNASSIGNED; in clear_timeout()
902 frnd->clear.frnd = BT_MESH_ADDR_UNASSIGNED; in bt_mesh_friend_clear_cfm()
Dnet.c851 rx->ctx.recv_dst == BT_MESH_ADDR_UNASSIGNED) { in bt_mesh_net_decode()
915 msg_cache[--msg_cache_next].src = BT_MESH_ADDR_UNASSIGNED; in bt_mesh_net_recv()
/Zephyr-latest/tests/bluetooth/mesh/brg/src/
Dmain.c151 uint16_t addr1 = BT_MESH_ADDR_UNASSIGNED; in ZTEST()
159 addr2 = BT_MESH_ADDR_UNASSIGNED; in ZTEST()
164 addr1 = BT_MESH_ADDR_UNASSIGNED; in ZTEST()
208 addr1 = BT_MESH_ADDR_UNASSIGNED; in ZTEST()
233 test_vector[1].addr1, BT_MESH_ADDR_UNASSIGNED, &status); in check_bt_mesh_brg_cfg_tbl_multiple_delete()
/Zephyr-latest/samples/boards/nordic/mesh/onoff-app/src/
Dmain.c327 model->pub->addr != BT_MESH_ADDR_UNASSIGNED) { in gen_onoff_set_unack()
490 if (primary_addr == BT_MESH_ADDR_UNASSIGNED) { in button_pressed_worker()
505 if (pub_cli->addr == BT_MESH_ADDR_UNASSIGNED) { in button_pressed_worker()
/Zephyr-latest/subsys/bluetooth/mesh/shell/
Dblob.c316 group = BT_MESH_ADDR_UNASSIGNED; in cmd_tx()
403 group = BT_MESH_ADDR_UNASSIGNED; in cmd_caps()
458 group = BT_MESH_ADDR_UNASSIGNED; in cmd_tx_get()
Ddfd.c222 params.group = BT_MESH_ADDR_UNASSIGNED; in cmd_dfd_start()
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_heartbeat.c26 static uint16_t pub_addr = BT_MESH_ADDR_UNASSIGNED;
Dtest_blob.c794 blob_cli_inputs_prepare(BT_MESH_ADDR_UNASSIGNED); in test_cli_broadcast_unicast_seq()
861 blob_cli_inputs_prepare(BT_MESH_ADDR_UNASSIGNED); in test_cli_broadcast_unicast()
886 blob_cli_inputs_prepare(BT_MESH_ADDR_UNASSIGNED); in test_cli_broadcast_unicast()
/Zephyr-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/src/mesh/
Ddevice_composition.c101 if (model->pub->addr == BT_MESH_ADDR_UNASSIGNED) { in gen_onoff_publish()
310 if (model->pub->addr == BT_MESH_ADDR_UNASSIGNED) { in gen_level_publish()
821 if (model->pub->addr == BT_MESH_ADDR_UNASSIGNED) { in gen_def_trans_time_publish()
927 if (model->pub->addr == BT_MESH_ADDR_UNASSIGNED) { in gen_onpowerup_publish()
1093 if (model->pub->addr == BT_MESH_ADDR_UNASSIGNED) { in light_lightness_publish()
1280 if (model->pub->addr == BT_MESH_ADDR_UNASSIGNED) { in light_lightness_linear_publish()
1495 if (model->pub->addr == BT_MESH_ADDR_UNASSIGNED) { in light_lightness_default_publish()
1555 if (model->pub->addr == BT_MESH_ADDR_UNASSIGNED) { in light_lightness_range_publish()
1742 if (model->pub->addr == BT_MESH_ADDR_UNASSIGNED) { in light_ctl_publish()
1973 if (model->pub->addr == BT_MESH_ADDR_UNASSIGNED) { in light_ctl_default_publish()
[all …]
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Daccess.h19 #define BT_MESH_ADDR_UNASSIGNED_ELT_(IDX, _) BT_MESH_ADDR_UNASSIGNED
51 #define BT_MESH_ADDR_UNASSIGNED 0x0000 /**< unassigned */ macro
/Zephyr-latest/samples/boards/phytec/reel_board/mesh_badge/src/
Dmesh.c250 model->pub->addr != BT_MESH_ADDR_UNASSIGNED) { in gen_onoff_set_unack()
641 return elements[0].rt->addr != BT_MESH_ADDR_UNASSIGNED; in mesh_is_initialized()
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/
Dblob_cli.rst64 not :c:macro:`BT_MESH_ADDR_UNASSIGNED`, the messages in the transfer will be sent to the group

12