Home
last modified time | relevance | path

Searched refs:mesh_network_pdu_t (Results 1 – 14 of 14) sorted by relevance

/btstack/src/mesh/
H A Dmesh_network.h108 } mesh_network_pdu_t; typedef
281 …void (*packet_handler)(mesh_network_callback_type_t callback_type, mesh_network_pdu_t * network_pd…
287 …void (*packet_handler)(mesh_network_callback_type_t callback_type, mesh_network_pdu_t * network_pd…
293 void mesh_network_message_processed_by_higher_layer(mesh_network_pdu_t * network_pdu);
299 void mesh_network_send_pdu(mesh_network_pdu_t * network_pdu);
312 void mesh_network_setup_pdu(mesh_network_pdu_t * network_pdu, uint16_t netkey_index, uint8_t nid, u…
325 void mesh_network_setup_pdu_header(mesh_network_pdu_t * network_pdu, uint16_t netkey_index, uint8_t…
444 mesh_network_pdu_t * mesh_network_pdu_get(void);
445 void mesh_network_pdu_free(mesh_network_pdu_t * network_pdu);
449 uint16_t mesh_network_control(mesh_network_pdu_t * network_pdu);
[all …]
H A Dmesh_network.c78 …_higher_layer_handler)(mesh_network_callback_type_t callback_type, mesh_network_pdu_t * network_pd…
79 …proxy_message_handler)(mesh_network_callback_type_t callback_type, mesh_network_pdu_t * network_pd…
112 static mesh_network_pdu_t * incoming_pdu_raw;
113 static mesh_network_pdu_t * incoming_pdu_decoded;
122 static mesh_network_pdu_t * outgoing_pdu;
128 static mesh_network_pdu_t * gatt_bearer_network_pdu;
135 static mesh_network_pdu_t * adv_bearer_network_pdu;
152 static uint32_t mesh_network_cache_hash(mesh_network_pdu_t * network_pdu){ in mesh_network_cache_hash()
241 static void mesh_network_create_nonce(uint8_t * nonce, const mesh_network_pdu_t * pdu, uint32_t iv_… in mesh_network_create_nonce()
251 static void mesh_proxy_create_nonce(uint8_t * nonce, const mesh_network_pdu_t * pdu, uint32_t iv_in… in mesh_proxy_create_nonce()
[all …]
H A Dmesh_lower_transport.c77 static mesh_network_pdu_t * lower_transport_outgoing_segment;
88 static mesh_network_pdu_t * lower_transport_outgoing_network_pdu;
112mesh_network_pdu_t * segment = (mesh_network_pdu_t *) btstack_linked_list_pop(&message_pdu->segmen… in mesh_segmented_pdu_free()
172 mesh_network_pdu_t * network_pdu = mesh_network_pdu_get(); in mesh_lower_transport_incoming_send_ack()
195 static void mesh_lower_transport_incoming_send_ack_for_network_pdu(mesh_network_pdu_t *network_pdu,… in mesh_lower_transport_incoming_send_ack_for_network_pdu()
274 …ed_pdu_t * mesh_lower_transport_incoming_pdu_for_segmented_message(mesh_network_pdu_t *network_pdu… in mesh_lower_transport_incoming_pdu_for_segmented_message()
366 …sport_incoming_process_segment(mesh_segmented_pdu_t * message_pdu, mesh_network_pdu_t * network_pd… in mesh_lower_transport_incoming_process_segment()
397mesh_network_pdu_t * latest_segment = (mesh_network_pdu_t *) btstack_linked_list_get_first_item(&m… in mesh_lower_transport_incoming_process_segment()
451 mesh_network_pdu_t * network_pdu; in mesh_lower_transport_message_processed_by_higher_layer()
458 network_pdu = (mesh_network_pdu_t *) pdu; in mesh_lower_transport_message_processed_by_higher_layer()
[all …]
H A Dmesh_upper_transport.c196 mesh_network_pdu_t *segment = (mesh_network_pdu_t *) btstack_linked_list_iterator_next(&it); in mesh_segmented_pdu_flatten()
213 mesh_network_pdu_t *segment = (mesh_network_pdu_t *) btstack_linked_list_iterator_next(&it); in mesh_upper_pdu_flatten()
226 mesh_network_pdu_t * network_pdu = NULL; in mesh_segmented_store_payload()
229 network_pdu = (mesh_network_pdu_t *) btstack_linked_list_pop(in_segments); in mesh_segmented_store_payload()
249 mesh_network_pdu_t * network_pdu = mesh_network_pdu_get(); in mesh_segmented_allocate_segments()
522 mesh_network_pdu_t * unsegmented_pdu = NULL; in mesh_upper_transport_validate_access_message_digest()
533 unsegmented_pdu = (mesh_network_pdu_t *) incoming_access_encrypted; in mesh_upper_transport_validate_access_message_digest()
643 mesh_network_pdu_t * network_pdu = (mesh_network_pdu_t *) upper_pdu->lower_pdu; in mesh_upper_transport_send_access_unsegmented()
767 static void mesh_upper_transport_send_unsegmented_control_pdu(mesh_network_pdu_t * network_pdu){ in mesh_upper_transport_send_unsegmented_control_pdu()
832 mesh_network_pdu_t * network_pdu; in mesh_upper_transport_run()
[all …]
H A Dmesh_proxy.c337 static mesh_network_pdu_t * encrypted_proxy_configuration_ready_to_send;
343 static void request_can_send_now_proxy_configuration_callback_handler(mesh_network_pdu_t * network_… in request_can_send_now_proxy_configuration_callback_handler()
348 …ration_message_handler(mesh_network_callback_type_t callback_type, mesh_network_pdu_t * received_n… in proxy_configuration_message_handler()
351 mesh_network_pdu_t * network_pdu; in proxy_configuration_message_handler()
H A Dmesh_upper_transport.h54 mesh_network_pdu_t * segment;
158 uint8_t mesh_upper_transport_setup_unsegmented_control_pdu(mesh_network_pdu_t * network_pdu, uint16…
H A Dmesh_access.c390 return mesh_network_control((mesh_network_pdu_t *) pdu); in mesh_pdu_ctl()
400 return mesh_network_ttl((mesh_network_pdu_t *) pdu); in mesh_pdu_ttl()
412 return mesh_network_src((mesh_network_pdu_t *) pdu); in mesh_pdu_src()
425 return mesh_network_dst((mesh_network_pdu_t *) pdu); in mesh_pdu_dst()
440 return ((mesh_network_pdu_t *) pdu)->netkey_index; in mesh_pdu_netkey_index()
464 return ((mesh_network_pdu_t *) pdu)->len - 10; in mesh_pdu_len()
478 return &((mesh_network_pdu_t *) pdu)->data[10]; in mesh_pdu_data()
488 return mesh_network_control_opcode((mesh_network_pdu_t *) pdu); in mesh_pdu_control_opcode()
H A Dmesh_lower_transport.h91 …sport_received_message(mesh_network_callback_type_t callback_type, mesh_network_pdu_t *network_pdu…
H A Dmesh_configuration_server.c1744 mesh_network_pdu_t * network_pdu = mesh_network_pdu_get(); in config_heartbeat_publication_emit()
/btstack/test/mesh/
H A Dmesh_message_test.cpp23 static mesh_network_pdu_t * received_network_pdu;
24 static mesh_network_pdu_t * received_proxy_pdu;
110 return mesh_network_dst((mesh_network_pdu_t *) pdu); in mesh_pdu_dst()
126 return mesh_network_control((mesh_network_pdu_t *) pdu); in mesh_pdu_ctl()
236 …sport_callback_handler(mesh_network_callback_type_t callback_type, mesh_network_pdu_t * network_pd… in test_lower_transport_callback_handler()
251 …erver_callback_handler(mesh_network_callback_type_t callback_type, mesh_network_pdu_t * network_pd… in test_proxy_server_callback_handler()
281 mesh_network_pdu_t * network_pdu; in test_upper_transport_access_message_handler()
295 … network_pdu = (mesh_network_pdu_t *) btstack_linked_list_get_first_item(&message_pdu->segments); in test_upper_transport_access_message_handler()
521 mesh_network_pdu_t * network_pdu = mesh_network_pdu_get(); in test_send_control_message()
1155 mesh_network_pdu_t * network_pdu = mesh_network_pdu_get(); in TEST()
H A Dmesh_pts.c577 …sport_callback_handler(mesh_network_callback_type_t callback_type, mesh_network_pdu_t * network_pd… in pts_lower_transport_callback_handler()
/btstack/src/
H A Dbtstack_memory.h174 mesh_network_pdu_t * btstack_memory_mesh_network_pdu_get(void);
175 void btstack_memory_mesh_network_pdu_free(mesh_network_pdu_t *mesh_network_pdu);
H A Dbtstack_memory.c1574 static mesh_network_pdu_t mesh_network_pdu_storage[MAX_NR_MESH_NETWORK_PDUS];
1576 mesh_network_pdu_t * btstack_memory_mesh_network_pdu_get(void){ in btstack_memory_mesh_network_pdu_get()
1579 memset(buffer, 0, sizeof(mesh_network_pdu_t)); in btstack_memory_mesh_network_pdu_get()
1581 return (mesh_network_pdu_t *) buffer; in btstack_memory_mesh_network_pdu_get()
1583 void btstack_memory_mesh_network_pdu_free(mesh_network_pdu_t *mesh_network_pdu){ in btstack_memory_mesh_network_pdu_free()
1587 mesh_network_pdu_t * btstack_memory_mesh_network_pdu_get(void){ in btstack_memory_mesh_network_pdu_get()
1590 void btstack_memory_mesh_network_pdu_free(mesh_network_pdu_t *mesh_network_pdu){ in btstack_memory_mesh_network_pdu_free()
1598 mesh_network_pdu_t data;
1601 mesh_network_pdu_t * btstack_memory_mesh_network_pdu_get(void){ in btstack_memory_mesh_network_pdu_get()
1611 void btstack_memory_mesh_network_pdu_free(mesh_network_pdu_t *mesh_network_pdu){ in btstack_memory_mesh_network_pdu_free()
[all …]
/btstack/test/btstack_memory/
H A Dbtstack_memory_test.cpp1158 mesh_network_pdu_t * context; in TEST()
1179 mesh_network_pdu_t * context; in TEST()