Searched refs:BLE_MESH_KEY_UNUSED (Results 1 – 15 of 15) sorted by relevance
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/ |
D | test.c | 65 if (key->net_idx == BLE_MESH_KEY_UNUSED) { in bt_mesh_device_auto_enter_network() 101 if (model->keys[k] == BLE_MESH_KEY_UNUSED) { in bt_mesh_device_auto_enter_network() 116 if (model->keys[k] == BLE_MESH_KEY_UNUSED) { in bt_mesh_device_auto_enter_network()
|
D | beacon.c | 61 if (sub == NULL || sub->net_idx == BLE_MESH_KEY_UNUSED) { in cache_check() 81 uint16_t net_idx = BLE_MESH_KEY_UNUSED; in beacon_complete() 157 if (sub == NULL || sub->net_idx == BLE_MESH_KEY_UNUSED) { in secure_beacon_send() 290 if (sub == NULL || sub->net_idx == BLE_MESH_KEY_UNUSED) { in update_beacon_observation() 506 if (sub == NULL || sub->net_idx == BLE_MESH_KEY_UNUSED) { in bt_mesh_beacon_enable()
|
D | local_operation.c | 184 if (bt_mesh.sub[i].net_idx != BLE_MESH_KEY_UNUSED) { in bt_mesh_node_local_net_key_add() 196 if (bt_mesh.sub[i].net_idx == BLE_MESH_KEY_UNUSED) { in bt_mesh_node_local_net_key_add() 260 if (bt_mesh.app_keys[i].net_idx != BLE_MESH_KEY_UNUSED) { in bt_mesh_node_local_app_key_add() 328 if (model->keys[i] == BLE_MESH_KEY_UNUSED) { in bt_mesh_node_bind_app_key_to_model()
|
D | fast_prov.c | 68 if (key->net_idx != BLE_MESH_KEY_UNUSED && in bt_mesh_fast_prov_app_key_find() 76 if (key && key->net_idx != BLE_MESH_KEY_UNUSED && in bt_mesh_fast_prov_app_key_find()
|
D | friend.c | 86 adv_pool[id].app_idx = BLE_MESH_KEY_UNUSED; in adv_alloc() 213 if (frnd->net_idx == BLE_MESH_KEY_UNUSED) { in bt_mesh_friend_clear_net_idx() 232 if (frnd->net_idx == BLE_MESH_KEY_UNUSED) { in bt_mesh_friend_sec_update() 455 if (FRIEND_ADV(buf)->app_idx == BLE_MESH_KEY_UNUSED) { in unseg_app_sdu_prepare() 516 if (FRIEND_ADV(buf)->app_idx != BLE_MESH_KEY_UNUSED) { in encrypt_friend_pdu() 527 FRIEND_ADV(buf)->app_idx = BLE_MESH_KEY_UNUSED; in encrypt_friend_pdu() 812 .app_idx = BLE_MESH_KEY_UNUSED, in send_friend_clear() 1269 frnd->net_idx = BLE_MESH_KEY_UNUSED; in bt_mesh_friend_init() 1301 frnd->net_idx = BLE_MESH_KEY_UNUSED; in bt_mesh_friend_deinit() 1446 info.ctl = (tx->ctx->app_idx == BLE_MESH_KEY_UNUSED); in friend_lpn_enqueue_tx()
|
D | proxy_client.c | 449 server->net_idx = BLE_MESH_KEY_UNUSED; in proxy_disconnected() 798 if (bt_mesh.sub[i].net_idx != BLE_MESH_KEY_UNUSED) { in bt_mesh_proxy_client_beacon_send() 808 if (bt_mesh.p_sub[i] && bt_mesh.p_sub[i]->net_idx != BLE_MESH_KEY_UNUSED) { in bt_mesh_proxy_client_beacon_send() 836 .app_idx = BLE_MESH_KEY_UNUSED, /* CTL shall be set to 1 */ in send_proxy_cfg() 979 server->net_idx = BLE_MESH_KEY_UNUSED; in bt_mesh_proxy_client_init()
|
D | cfg_srv.c | 191 if (key->net_idx != BLE_MESH_KEY_UNUSED && in app_key_is_valid() 308 if (model->keys[i] == BLE_MESH_KEY_UNUSED) { in mod_bind() 337 model->keys[i] = BLE_MESH_KEY_UNUSED; in mod_unbind() 359 if (key->net_idx == BLE_MESH_KEY_UNUSED) { in bt_mesh_app_key_alloc() 550 key->net_idx = BLE_MESH_KEY_UNUSED; in bt_mesh_app_key_del() 644 prev = BLE_MESH_KEY_UNUSED; in app_key_get() 652 if (prev == BLE_MESH_KEY_UNUSED) { in app_key_get() 658 prev = BLE_MESH_KEY_UNUSED; in app_key_get() 661 if (prev != BLE_MESH_KEY_UNUSED) { in app_key_get() 2195 if (bt_mesh.sub[i].net_idx == BLE_MESH_KEY_UNUSED) { in net_key_add() [all …]
|
D | net.c | 73 .net_idx = BLE_MESH_KEY_UNUSED, 78 .net_idx = BLE_MESH_KEY_UNUSED, 342 cred->net_idx = BLE_MESH_KEY_UNUSED; in friend_cred_clear() 738 if (sub && sub->net_idx != BLE_MESH_KEY_UNUSED) { in bt_mesh_net_iv_update() 861 const bool ctl = (tx->ctx->app_idx == BLE_MESH_KEY_UNUSED); in bt_mesh_net_encode() 1047 if (sub == NULL || sub->net_idx == BLE_MESH_KEY_UNUSED) { in bt_mesh_subnet_find() 1166 if (sub->net_idx == BLE_MESH_KEY_UNUSED) { in net_find_and_decrypt() 1384 rx->ctx.app_idx = BLE_MESH_KEY_UNUSED; in bt_mesh_net_decode()
|
D | lpn.c | 184 .app_idx = BLE_MESH_KEY_UNUSED, in send_friend_clear() 307 .app_idx = BLE_MESH_KEY_UNUSED, in send_friend_req() 378 .app_idx = BLE_MESH_KEY_UNUSED, in send_friend_poll() 664 .app_idx = BLE_MESH_KEY_UNUSED, in sub_update()
|
D | proxy_server.c | 393 if (sub->net_idx != BLE_MESH_KEY_UNUSED) { in proxy_send_beacons() 406 if (bt_mesh.sub[i].net_idx != BLE_MESH_KEY_UNUSED) { in bt_mesh_proxy_server_beacon_send() 449 if (sub->net_idx == BLE_MESH_KEY_UNUSED) { in bt_mesh_proxy_identity_enable() 1218 if (sub->net_idx == BLE_MESH_KEY_UNUSED) { in advertise_subnet()
|
D | settings.c | 413 if (bt_mesh.sub[i].net_idx == BLE_MESH_KEY_UNUSED) { in subnet_alloc() 640 model->keys[i] = BLE_MESH_KEY_UNUSED; in model_set_bind() 1362 if (bt_mesh.sub[0].net_idx == BLE_MESH_KEY_UNUSED) { in settings_core_commit() 1376 if (sub->net_idx == BLE_MESH_KEY_UNUSED) { in settings_core_commit() 1391 bt_mesh.p_sub[0]->net_idx == BLE_MESH_KEY_UNUSED) { in settings_core_commit() 1400 if (sub == NULL || sub->net_idx == BLE_MESH_KEY_UNUSED) { in settings_core_commit()
|
D | provisioner_main.c | 808 if (key && key->net_idx != BLE_MESH_KEY_UNUSED && in bt_mesh_provisioner_app_key_find() 1153 model->keys[i] = BLE_MESH_KEY_UNUSED; in model_unbind() 1446 if (model->keys[i] == BLE_MESH_KEY_UNUSED) { in bt_mesh_provisioner_bind_local_model_app_idx()
|
D | access.c | 345 mod->keys[i] = BLE_MESH_KEY_UNUSED; in mod_init() 406 mod->keys[i] = BLE_MESH_KEY_UNUSED; in mod_deinit()
|
D | transport.c | 588 if (key->net_idx != BLE_MESH_KEY_UNUSED && in bt_mesh_app_key_find() 1282 .app_idx = BLE_MESH_KEY_UNUSED, in send_ack() 1930 .app_idx = BLE_MESH_KEY_UNUSED,
|
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/include/ |
D | mesh_access.h | 37 #define BLE_MESH_KEY_UNUSED 0xffff macro
|