Searched refs:BT_MESH_KEY_UNUSED (Results 1 – 17 of 17) sorted by relevance
/Zephyr-Core-3.7.0/subsys/bluetooth/mesh/ |
D | app_keys.c | 64 .app_idx = BT_MESH_KEY_UNUSED, 65 .net_idx = BT_MESH_KEY_UNUSED, 196 if (!app && apps[i].app_idx == BT_MESH_KEY_UNUSED) { in app_key_alloc() 214 app->net_idx = BT_MESH_KEY_UNUSED; in app_key_del() 215 app->app_idx = BT_MESH_KEY_UNUSED; in app_key_del() 304 if (net_idx != BT_MESH_KEY_UNUSED && app->net_idx != net_idx) { in bt_mesh_app_key_update() 358 if (net_idx != BT_MESH_KEY_UNUSED && !bt_mesh_subnet_get(net_idx)) { in bt_mesh_app_key_del() 370 if (net_idx != BT_MESH_KEY_UNUSED && net_idx != app->net_idx) { in bt_mesh_app_key_del() 449 if (app->app_idx == BT_MESH_KEY_UNUSED) { in bt_mesh_app_keys_get() 583 return BT_MESH_KEY_UNUSED; in bt_mesh_app_key_find() [all …]
|
D | proxy_cli.c | 41 .net_idx = BT_MESH_KEY_UNUSED, 175 srv = find_proxy_srv(BT_MESH_KEY_UNUSED, false, true); in proxy_srv_check_and_get() 324 srv = find_proxy_srv(BT_MESH_KEY_UNUSED, false, true); in bt_mesh_proxy_connect() 345 srv->net_idx = BT_MESH_KEY_UNUSED; in bt_mesh_proxy_disconnect() 362 servers[i].net_idx = BT_MESH_KEY_UNUSED; in bt_mesh_proxy_disconnect()
|
D | subnet.c | 64 .net_idx = BT_MESH_KEY_UNUSED, 274 if (!sub && subnets[i].net_idx == BT_MESH_KEY_UNUSED) { in subnet_alloc() 298 sub->net_idx = BT_MESH_KEY_UNUSED; in subnet_del() 588 if (subnets[i].net_idx != BT_MESH_KEY_UNUSED && in bt_mesh_subnet_node_id_set() 651 if (subnets[i].net_idx != BT_MESH_KEY_UNUSED && in bt_mesh_subnet_priv_node_id_set() 717 if (sub->net_idx == BT_MESH_KEY_UNUSED) { in bt_mesh_subnets_get() 816 if (subnets[i].net_idx == BT_MESH_KEY_UNUSED) { in bt_mesh_subnet_find() 833 if (subnets[i].net_idx == BT_MESH_KEY_UNUSED) { in bt_mesh_subnet_foreach() 858 if (sub->net_idx != BT_MESH_KEY_UNUSED) { in bt_mesh_subnet_next() 876 if (sub->net_idx != BT_MESH_KEY_UNUSED) { in bt_mesh_net_keys_reset() [all …]
|
D | cdb.c | 92 .net_idx = BT_MESH_KEY_UNUSED, 97 .app_idx = BT_MESH_KEY_UNUSED, 98 .net_idx = BT_MESH_KEY_UNUSED, 776 if (bt_mesh_cdb.subnets[i].net_idx != BT_MESH_KEY_UNUSED) { in bt_mesh_cdb_clear() 782 if (bt_mesh_cdb.app_keys[i].net_idx != BT_MESH_KEY_UNUSED) { in bt_mesh_cdb_clear() 824 if (sub->net_idx != BT_MESH_KEY_UNUSED) { in bt_mesh_cdb_subnet_alloc() 844 sub->net_idx = BT_MESH_KEY_UNUSED; in bt_mesh_cdb_subnet_del() 1041 if (key->net_idx != BT_MESH_KEY_UNUSED || vacant_key) { in bt_mesh_cdb_app_key_alloc() 1064 key->net_idx = BT_MESH_KEY_UNUSED; in bt_mesh_cdb_app_key_del() 1065 key->app_idx = BT_MESH_KEY_UNUSED; in bt_mesh_cdb_app_key_del() [all …]
|
D | heartbeat.c | 110 .app_idx = BT_MESH_KEY_UNUSED, in heartbeat_send() 383 pub.net_idx = BT_MESH_KEY_UNUSED; in bt_mesh_hb_init()
|
D | lpn.c | 213 .app_idx = BT_MESH_KEY_UNUSED, in send_friend_clear() 360 .app_idx = BT_MESH_KEY_UNUSED, in send_friend_req() 462 .app_idx = BT_MESH_KEY_UNUSED, in send_friend_poll() 790 .app_idx = BT_MESH_KEY_UNUSED, in sub_update()
|
D | friend.c | 83 adv_pool[id].app_idx = BT_MESH_KEY_UNUSED; in adv_alloc() 455 if (FRIEND_ADV(buf)->app_idx == BT_MESH_KEY_UNUSED) { in unseg_app_sdu_prepare() 509 if (FRIEND_ADV(buf)->app_idx != BT_MESH_KEY_UNUSED) { in encrypt_friend_pdu() 520 FRIEND_ADV(buf)->app_idx = BT_MESH_KEY_UNUSED; in encrypt_friend_pdu() 813 .app_idx = BT_MESH_KEY_UNUSED, in send_friend_clear() 1495 info.ctl = (tx->ctx->app_idx == BT_MESH_KEY_UNUSED); in friend_lpn_enqueue_tx()
|
D | net.c | 400 .app_idx = BT_MESH_KEY_UNUSED, in bt_mesh_net_local() 442 const bool ctl = (tx->ctx->app_idx == BT_MESH_KEY_UNUSED); in net_header_encode() 798 rx->ctx.app_idx = BT_MESH_KEY_UNUSED; in bt_mesh_net_decode()
|
D | transport.c | 368 .app_idx = (tx->ctl ? BT_MESH_KEY_UNUSED : 0), in seg_tx_send_unacked() 805 if (rx->ctx.app_idx == BT_MESH_KEY_UNUSED) { in sdu_recv() 1085 tx->ctx->app_idx = BT_MESH_KEY_UNUSED; in bt_mesh_ctl_send() 1109 .app_idx = BT_MESH_KEY_UNUSED, in send_ack()
|
D | proxy_srv.c | 630 if (sub->net_idx == BT_MESH_KEY_UNUSED) { in is_sub_proxy_active() 711 if (sub->net_idx == BT_MESH_KEY_UNUSED) { in proxy_adv_request_get()
|
D | rpr_srv.c | 135 srv.scan.cli.net_idx = BT_MESH_KEY_UNUSED; in cli_scan_clear() 141 srv.link.cli.net_idx = BT_MESH_KEY_UNUSED; in cli_link_clear()
|
D | cfg_srv.c | 220 if (model->keys[i] == BT_MESH_KEY_UNUSED) { in mod_bind() 249 model->keys[i] = BT_MESH_KEY_UNUSED; in mod_unbind() 269 if (arr[i] != BT_MESH_KEY_UNUSED) { in key_idx_pack_list()
|
D | access.c | 1033 mod->keys[i] = BT_MESH_KEY_UNUSED; in mod_init() 1867 mod->keys[i] = BT_MESH_KEY_UNUSED; in mod_set_bind() 2132 if (mod->keys[i] != BT_MESH_KEY_UNUSED) { in store_pending_mod_bind()
|
/Zephyr-Core-3.7.0/include/zephyr/bluetooth/mesh/ |
D | access.h | 18 #define BT_MESH_KEY_UNUSED_ELT_(IDX, _) BT_MESH_KEY_UNUSED 67 #define BT_MESH_KEY_UNUSED 0xffff /**< Key unused */ macro
|
/Zephyr-Core-3.7.0/samples/bluetooth/mesh/src/ |
D | main.c | 312 if (ctx.app_idx == BT_MESH_KEY_UNUSED) { in gen_onoff_send()
|
/Zephyr-Core-3.7.0/subsys/bluetooth/mesh/shell/ |
D | shell.c | 1263 if (subnet->net_idx == BT_MESH_KEY_UNUSED) { in cdb_print_subnets() 1292 if (key->net_idx == BT_MESH_KEY_UNUSED) { in cdb_print_app_keys()
|
/Zephyr-Core-3.7.0/tests/bluetooth/tester/src/ |
D | btp_mesh.c | 975 uint16_t app_idx = BT_MESH_KEY_UNUSED; in srpl_clear() 5316 model_bound[i].appkey_idx = BT_MESH_KEY_UNUSED; in model_unbound_cb()
|