Searched refs:net_id (Results 1 – 10 of 10) sorted by relevance
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/ |
D | beacon.c | 123 net_buf_simple_add_mem(buf, keys->net_id, 8); in bt_mesh_beacon_create() 132 BT_DBG("NetID %s Auth %s", bt_hex(keys->net_id, 8), in bt_mesh_beacon_create() 339 uint8_t *data = NULL, *net_id = NULL, *auth = NULL; in secure_beacon_recv() local 362 net_id = net_buf_simple_pull_mem(buf, 8); in secure_beacon_recv() 367 flags, bt_hex(net_id, 8), iv_index); in secure_beacon_recv() 369 sub = bt_mesh_subnet_find(net_id, flags, iv_index, auth, &new_key); in secure_beacon_recv()
|
D | proxy_client.h | 32 uint8_t net_id[8]; member 34 } net_id; member
|
D | proxy_client.c | 636 static struct bt_mesh_subnet *bt_mesh_is_net_id_exist(const uint8_t net_id[8]) in bt_mesh_is_net_id_exist() 645 if (sub && !memcmp(sub->keys[sub->kr_flag].net_id, net_id, 8)) { in bt_mesh_is_net_id_exist() 669 if (buf->len != sizeof(ctx.net_id.net_id)) { in bt_mesh_proxy_client_gatt_adv_recv() 680 memcpy(ctx.net_id.net_id, buf->data, buf->len); in bt_mesh_proxy_client_gatt_adv_recv() 681 ctx.net_id.net_idx = sub->net_idx; in bt_mesh_proxy_client_gatt_adv_recv()
|
D | crypto.h | 53 uint8_t net_id[1], uint8_t enc_key[16], uint8_t priv_key[16]); 80 const uint8_t net_id[8], uint32_t iv_index,
|
D | crypto.c | 63 uint8_t net_id[1], uint8_t enc_key[16], uint8_t priv_key[16]) in bt_mesh_k2() 99 net_id[0] = out[15] & 0x7f; in bt_mesh_k2() 121 BT_DBG("NID 0x%02x enc_key %s", net_id[0], bt_hex(enc_key, 16)); in bt_mesh_k2() 853 const uint8_t net_id[8], uint32_t iv_index, in bt_mesh_beacon_auth() 860 BT_DBG("NetId %s", bt_hex(net_id, 8)); in bt_mesh_beacon_auth() 864 memcpy(&msg[1], net_id, 8); in bt_mesh_beacon_auth()
|
D | net.c | 184 err = bt_mesh_k3(key, keys->net_id); in bt_mesh_net_keys_create() 190 BT_DBG("NetID %s", bt_hex(keys->net_id, 8)); in bt_mesh_net_keys_create() 438 return bt_mesh_beacon_auth(keys->beacon, flags, keys->net_id, in bt_mesh_net_beacon_update() 1014 const uint8_t net_id[8], uint8_t flags, in auth_match() 1019 if (memcmp(net_id, keys->net_id, 8)) { in auth_match() 1023 bt_mesh_beacon_auth(keys->beacon, flags, keys->net_id, iv_index, in auth_match() 1035 struct bt_mesh_subnet *bt_mesh_subnet_find(const uint8_t net_id[8], uint8_t flags, in bt_mesh_subnet_find() 1051 if (auth_match(&sub->keys[0], net_id, flags, iv_index, auth)) { in bt_mesh_subnet_find() 1060 if (auth_match(&sub->keys[1], net_id, flags, iv_index, auth)) { in bt_mesh_subnet_find()
|
D | net.h | 66 uint8_t net_id[8]; /* Network ID */ member 348 struct bt_mesh_subnet *bt_mesh_subnet_find(const uint8_t net_id[8], uint8_t flags,
|
D | proxy_server.c | 1199 bt_hex(sub->keys[sub->kr_flag].net_id, 8)); in net_id_adv() 1201 memcpy(proxy_svc_data + 3, sub->keys[sub->kr_flag].net_id, 8); in net_id_adv()
|
/hal_espressif-latest/components/bt/esp_ble_mesh/btc/ |
D | btc_ble_mesh_prov.c | 956 mesh_param.proxy_client_recv_adv_pkt.net_idx = ctx->net_id.net_idx; in btc_ble_mesh_proxy_client_adv_recv_cb() 957 memcpy(mesh_param.proxy_client_recv_adv_pkt.net_id, ctx->net_id.net_id, 8); in btc_ble_mesh_proxy_client_adv_recv_cb()
|
/hal_espressif-latest/components/bt/esp_ble_mesh/api/ |
D | esp_ble_mesh_defs.h | 1398 … uint8_t net_id[8]; /*!< Network ID contained in the advertising packet */ member
|