/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/ |
D | net.h | 45 struct bt_mesh_subnet { struct 261 struct bt_mesh_subnet sub[CONFIG_BLE_MESH_SUBNET_COUNT]; 272 struct bt_mesh_subnet *p_sub[CONFIG_BLE_MESH_PROVISIONER_SUBNET_COUNT]; 288 struct bt_mesh_subnet *sub; 306 struct bt_mesh_subnet *sub; 332 uint8_t bt_mesh_net_flags(struct bt_mesh_subnet *sub); 334 bool bt_mesh_kr_update(struct bt_mesh_subnet *sub, uint8_t new_kr, bool new_key); 336 void bt_mesh_net_revoke_keys(struct bt_mesh_subnet *sub); 338 int bt_mesh_net_beacon_update(struct bt_mesh_subnet *sub); 344 void bt_mesh_net_sec_update(struct bt_mesh_subnet *sub); [all …]
|
D | proxy_server.h | 60 void bt_mesh_proxy_server_beacon_send(struct bt_mesh_subnet *sub); 67 void bt_mesh_proxy_server_identity_start(struct bt_mesh_subnet *sub); 68 void bt_mesh_proxy_server_identity_stop(struct bt_mesh_subnet *sub);
|
D | settings.h | 29 void bt_mesh_store_subnet(struct bt_mesh_subnet *sub); 40 void bt_mesh_clear_subnet(struct bt_mesh_subnet *sub); 51 void bt_mesh_store_p_subnet(struct bt_mesh_subnet *sub);
|
D | beacon.c | 51 static struct bt_mesh_subnet *cache_check(uint8_t data[21]) in cache_check() 59 struct bt_mesh_subnet *sub = bt_mesh_rx_netkey_get(i); in cache_check() 73 static void cache_add(uint8_t data[21], struct bt_mesh_subnet *sub) in cache_add() 80 struct bt_mesh_subnet *sub = NULL; in beacon_complete() 106 void bt_mesh_beacon_create(struct bt_mesh_subnet *sub, in bt_mesh_beacon_create() 153 struct bt_mesh_subnet *sub = bt_mesh_rx_netkey_get(i); in secure_beacon_send() 288 struct bt_mesh_subnet *sub = bt_mesh_rx_netkey_get(i); in update_beacon_observation() 340 struct bt_mesh_subnet *sub = NULL; in secure_beacon_recv() 504 struct bt_mesh_subnet *sub = bt_mesh_rx_netkey_get(i); in bt_mesh_beacon_enable()
|
D | access.h | 58 struct bt_mesh_subnet *bt_mesh_tx_netkey_get(uint8_t role, uint16_t net_idx); 66 struct bt_mesh_subnet *bt_mesh_rx_netkey_get(size_t index);
|
D | fast_prov.c | 39 struct bt_mesh_subnet *bt_mesh_fast_prov_subnet_get(uint16_t net_idx) in bt_mesh_fast_prov_subnet_get() 41 struct bt_mesh_subnet *sub = NULL; in bt_mesh_fast_prov_subnet_get() 119 struct bt_mesh_subnet *sub = NULL; in bt_mesh_fast_prov_net_key_get()
|
D | net.c | 147 struct bt_mesh_subnet *bt_mesh_subnet_get(uint16_t net_idx) in bt_mesh_subnet_get() 273 int friend_cred_update(struct bt_mesh_subnet *sub) in friend_cred_update() 296 struct friend_cred *friend_cred_create(struct bt_mesh_subnet *sub, uint16_t addr, in friend_cred_create() 365 int friend_cred_get(struct bt_mesh_subnet *sub, uint16_t addr, uint8_t *nid, in friend_cred_get() 401 int friend_cred_get(struct bt_mesh_subnet *sub, uint16_t addr, uint8_t *nid, in friend_cred_get() 408 uint8_t bt_mesh_net_flags(struct bt_mesh_subnet *sub) in bt_mesh_net_flags() 423 int bt_mesh_net_beacon_update(struct bt_mesh_subnet *sub) in bt_mesh_net_beacon_update() 445 struct bt_mesh_subnet *sub = NULL; in bt_mesh_net_create() 496 void bt_mesh_net_revoke_keys(struct bt_mesh_subnet *sub) in bt_mesh_net_revoke_keys() 526 bool bt_mesh_kr_update(struct bt_mesh_subnet *sub, uint8_t new_kr, bool new_key) in bt_mesh_kr_update() [all …]
|
D | proxy_server.c | 373 static int beacon_send(struct bt_mesh_conn *conn, struct bt_mesh_subnet *sub) in beacon_send() 391 struct bt_mesh_subnet *sub = &bt_mesh.sub[i]; in proxy_send_beacons() 399 void bt_mesh_proxy_server_beacon_send(struct bt_mesh_subnet *sub) in bt_mesh_proxy_server_beacon_send() 421 void bt_mesh_proxy_server_identity_start(struct bt_mesh_subnet *sub) in bt_mesh_proxy_server_identity_start() 430 void bt_mesh_proxy_server_identity_stop(struct bt_mesh_subnet *sub) in bt_mesh_proxy_server_identity_stop() 447 struct bt_mesh_subnet *sub = &bt_mesh.sub[i]; in bt_mesh_proxy_identity_enable() 1148 static int node_id_adv(struct bt_mesh_subnet *sub) in node_id_adv() 1188 static int net_id_adv(struct bt_mesh_subnet *sub) in net_id_adv() 1216 static bool advertise_subnet(struct bt_mesh_subnet *sub) in advertise_subnet() 1226 static struct bt_mesh_subnet *next_sub(void) in next_sub() [all …]
|
D | beacon.h | 25 void bt_mesh_beacon_create(struct bt_mesh_subnet *sub,
|
D | fast_prov.h | 18 struct bt_mesh_subnet *bt_mesh_fast_prov_subnet_get(uint16_t net_idx);
|
D | provisioner_main.c | 70 struct bt_mesh_subnet *sub = NULL; in bt_mesh_provisioner_net_create() 96 sub = bt_mesh_calloc(sizeof(struct bt_mesh_subnet)); in bt_mesh_provisioner_net_create() 711 struct bt_mesh_subnet *sub = NULL; in bt_mesh_provisioner_net_key_get() 730 struct bt_mesh_subnet *bt_mesh_provisioner_subnet_get(uint16_t net_idx) in bt_mesh_provisioner_subnet_get() 732 struct bt_mesh_subnet *sub = NULL; in bt_mesh_provisioner_subnet_get() 881 struct bt_mesh_subnet *sub = NULL; in provisioner_check_net_key() 903 struct bt_mesh_subnet *sub = NULL; in provisioner_check_net_idx() 1217 struct bt_mesh_subnet *sub = NULL; in bt_mesh_provisioner_local_net_key_add() 1258 sub = bt_mesh_calloc(sizeof(struct bt_mesh_subnet)); in bt_mesh_provisioner_local_net_key_add() 1305 struct bt_mesh_subnet *sub = NULL; in bt_mesh_provisioner_local_net_key_update() [all …]
|
D | friend.h | 41 void bt_mesh_friend_clear_incomplete(struct bt_mesh_subnet *sub, uint16_t src,
|
D | settings.c | 408 static struct bt_mesh_subnet *subnet_alloc(uint16_t net_idx) in subnet_alloc() 425 struct bt_mesh_subnet *sub = NULL; in net_key_set() 484 struct bt_mesh_subnet *sub = NULL; in app_key_set() 913 static struct bt_mesh_subnet *p_subnet_alloc(void) in p_subnet_alloc() 919 bt_mesh.p_sub[i] = bt_mesh_calloc(sizeof(struct bt_mesh_subnet)); in p_subnet_alloc() 954 struct bt_mesh_subnet *sub = NULL; in p_net_key_set() 1013 struct bt_mesh_subnet *sub = NULL; in p_app_key_set() 1310 static int subnet_init(struct bt_mesh_subnet *sub) in subnet_init() 1356 struct bt_mesh_subnet *sub = NULL; in settings_core_commit() 1752 static void store_net_key(struct bt_mesh_subnet *sub) in store_net_key() [all …]
|
D | proxy_client.h | 98 bool bt_mesh_proxy_client_beacon_send(struct bt_mesh_subnet *sub);
|
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() 638 struct bt_mesh_subnet *sub = NULL; in bt_mesh_is_net_id_exist() 674 struct bt_mesh_subnet *sub = NULL; in bt_mesh_proxy_client_gatt_adv_recv() 777 static int beacon_send(struct bt_mesh_conn *conn, struct bt_mesh_subnet *sub) in beacon_send() 787 bool bt_mesh_proxy_client_beacon_send(struct bt_mesh_subnet *sub) in bt_mesh_proxy_client_beacon_send()
|
D | transport.h | 121 int bt_mesh_app_key_get(const struct bt_mesh_subnet *subnet, uint16_t app_idx,
|
D | local_operation.c | 127 struct bt_mesh_subnet *sub = NULL; in bt_mesh_node_get_local_net_key() 163 struct bt_mesh_subnet *sub = NULL; in bt_mesh_node_local_net_key_add()
|
D | access.c | 802 struct bt_mesh_subnet *sub = NULL; in bt_mesh_model_send() 945 struct bt_mesh_subnet *bt_mesh_tx_netkey_get(uint8_t role, uint16_t net_idx) in bt_mesh_tx_netkey_get() 947 struct bt_mesh_subnet *sub = NULL; in bt_mesh_tx_netkey_get() 1017 struct bt_mesh_subnet *bt_mesh_rx_netkey_get(size_t index) in bt_mesh_rx_netkey_get() 1019 struct bt_mesh_subnet *sub = NULL; in bt_mesh_rx_netkey_get()
|
D | provisioner_main.h | 92 struct bt_mesh_subnet *bt_mesh_provisioner_subnet_get(uint16_t net_idx);
|
D | test.c | 37 struct bt_mesh_subnet *sub = NULL; in bt_mesh_device_auto_enter_network()
|
D | foundation.h | 159 void bt_mesh_subnet_del(struct bt_mesh_subnet *sub, bool store);
|
D | friend.c | 71 static struct bt_mesh_subnet *friend_subnet_get(uint16_t net_idx) in friend_subnet_get() 73 struct bt_mesh_subnet *sub = NULL; in friend_subnet_get() 372 struct bt_mesh_subnet *subnet; 488 struct bt_mesh_subnet *sub = friend_subnet_get(frnd->net_idx); in encrypt_friend_pdu() 575 struct bt_mesh_subnet *sub = friend_subnet_get(frnd->net_idx); in encode_update() 1690 void bt_mesh_friend_clear_incomplete(struct bt_mesh_subnet *sub, uint16_t src, in bt_mesh_friend_clear_incomplete()
|
D | cfg_srv.c | 372 struct bt_mesh_subnet *sub = NULL; in app_key_set() 2178 struct bt_mesh_subnet *sub = NULL; in net_key_add() 2259 struct bt_mesh_subnet *sub = NULL; in net_key_update() 2346 struct bt_mesh_subnet *sub = NULL; in net_key_del() 2401 struct bt_mesh_subnet *sub = &bt_mesh.sub[i]; in net_key_get() 2430 struct bt_mesh_subnet *sub = NULL; in node_identity_get() 2468 struct bt_mesh_subnet *sub = NULL; in node_identity_set() 2885 struct bt_mesh_subnet *sub = NULL; in krp_get() 2908 struct bt_mesh_subnet *sub = NULL; in krp_set() 3339 struct bt_mesh_subnet *sub = NULL; in hb_publish() [all …]
|
D | lpn.c | 509 struct bt_mesh_subnet *sub = rx->sub; in bt_mesh_lpn_friend_offer() 959 struct bt_mesh_subnet *sub = rx->sub; in bt_mesh_lpn_friend_update()
|
D | transport.c | 73 struct bt_mesh_subnet *sub; 89 struct bt_mesh_subnet *sub; 1277 static int send_ack(struct bt_mesh_subnet *sub, uint16_t src, uint16_t dst, in send_ack() 1972 int bt_mesh_app_key_get(const struct bt_mesh_subnet *subnet, uint16_t app_idx,
|