Home
last modified time | relevance | path

Searched refs:mesh_subnet (Results 1 – 5 of 5) sorted by relevance

/btstack/src/mesh/
H A Dmesh_proxy.c65 static void mesh_proxy_start_advertising_with_node_id_for_subnet(mesh_subnet_t * mesh_subnet);
161 static void mesh_proxy_stop_advertising_with_node_id_for_subnet(mesh_subnet_t * mesh_subnet){ in mesh_proxy_stop_advertising_with_node_id_for_subnet() argument
162 if (mesh_subnet->node_id_advertisement_running != 0){ in mesh_proxy_stop_advertising_with_node_id_for_subnet()
163 adv_bearer_advertisements_remove_item(&mesh_subnet->advertisement_with_node_id); in mesh_proxy_stop_advertising_with_node_id_for_subnet()
164 mesh_subnet->node_id_advertisement_running = 0; in mesh_proxy_stop_advertising_with_node_id_for_subnet()
172 mesh_subnet_t * mesh_subnet = mesh_subnet_iterator_get_next(&it); in mesh_proxy_stop_all_advertising_with_node_id() local
173 mesh_proxy_stop_advertising_with_node_id_for_subnet(mesh_subnet); in mesh_proxy_stop_all_advertising_with_node_id()
185 mesh_subnet_t * mesh_subnet = (mesh_subnet_t *) arg; in mesh_proxy_node_id_handle_get_aes128() local
187 (void)memcpy(mesh_subnet->advertisement_with_node_id.adv_data, in mesh_proxy_node_id_handle_get_aes128()
189 (void)memcpy(&mesh_subnet->advertisement_with_node_id.adv_data[12], in mesh_proxy_node_id_handle_get_aes128()
[all …]
H A Dbeacon.c124 mesh_subnet_t * mesh_subnet = (mesh_subnet_t *) arg; in mesh_secure_network_beacon_auth_value_calculated() local
135 mesh_subnet->beacon_state = MESH_SECURE_NETWORK_BEACON_AUTH_VALUE; in mesh_secure_network_beacon_auth_value_calculated()
140 static uint8_t mesh_secure_network_beacon_get_flags(mesh_subnet_t * mesh_subnet){ in mesh_secure_network_beacon_get_flags() argument
142 if (mesh_subnet->key_refresh != MESH_KEY_REFRESH_NOT_ACTIVE){ in mesh_secure_network_beacon_get_flags()
152 static void mesh_secure_network_beacon_setup(mesh_subnet_t * mesh_subnet){ in mesh_secure_network_beacon_setup() argument
154 mesh_beacon_data[1] = mesh_secure_network_beacon_get_flags(mesh_subnet); in mesh_secure_network_beacon_setup()
157 (void)memcpy(&mesh_beacon_data[2], mesh_subnet->old_key->network_id, 8); in mesh_secure_network_beacon_setup()
159 mesh_network_key_t * network_key = mesh_subnet_get_outgoing_network_key(mesh_subnet); in mesh_secure_network_beacon_setup()
161 …_secure_network_beacon_auth_value, &mesh_secure_network_beacon_auth_value_calculated, mesh_subnet); in mesh_secure_network_beacon_setup()
493 void beacon_secure_network_start(mesh_subnet_t * mesh_subnet){ in beacon_secure_network_start() argument
[all …]
H A Dbeacon.h73 void beacon_secure_network_start(mesh_subnet_t * mesh_subnet);
/btstack/src/
H A Dbtstack_memory.h187 void btstack_memory_mesh_subnet_free(mesh_subnet_t *mesh_subnet);
H A Dbtstack_memory.c1925 void btstack_memory_mesh_subnet_free(mesh_subnet_t *mesh_subnet){ in btstack_memory_mesh_subnet_free() argument
1926 btstack_memory_pool_free(&mesh_subnet_pool, mesh_subnet); in btstack_memory_mesh_subnet_free()
1932 void btstack_memory_mesh_subnet_free(mesh_subnet_t *mesh_subnet){ in btstack_memory_mesh_subnet_free() argument
1933 UNUSED(mesh_subnet); in btstack_memory_mesh_subnet_free()
1953 void btstack_memory_mesh_subnet_free(mesh_subnet_t *mesh_subnet){ in btstack_memory_mesh_subnet_free() argument
1955 btstack_memory_buffer_t * buffer = &((btstack_memory_buffer_t *) mesh_subnet)[-1]; in btstack_memory_mesh_subnet_free()