Home
last modified time | relevance | path

Searched refs:BT_MESH_KEY_UNUSED (Results 1 – 17 of 17) sorted by relevance

/Zephyr-Core-3.7.0/subsys/bluetooth/mesh/
Dapp_keys.c64 .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 …]
Dproxy_cli.c41 .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()
Dsubnet.c64 .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 …]
Dcdb.c92 .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 …]
Dheartbeat.c110 .app_idx = BT_MESH_KEY_UNUSED, in heartbeat_send()
383 pub.net_idx = BT_MESH_KEY_UNUSED; in bt_mesh_hb_init()
Dlpn.c213 .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()
Dfriend.c83 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()
Dnet.c400 .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()
Dtransport.c368 .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()
Dproxy_srv.c630 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()
Drpr_srv.c135 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()
Dcfg_srv.c220 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()
Daccess.c1033 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/
Daccess.h18 #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/
Dmain.c312 if (ctx.app_idx == BT_MESH_KEY_UNUSED) { in gen_onoff_send()
/Zephyr-Core-3.7.0/subsys/bluetooth/mesh/shell/
Dshell.c1263 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/
Dbtp_mesh.c975 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()