49 Commits

Author SHA1 Message Date
Matthias Ringwald
d1cd978cd1 mesh: mesh_transport -> mesh_upper_transport 2019-07-20 08:50:31 +02:00
Matthias Ringwald
cbb391cd7c mesh: move mesh_transport to ble/mesh 2019-07-20 08:50:31 +02:00
Matthias Ringwald
c216d5d320 mesh: mesh_virtual_address_register returns mesh_virtual_address_t, only call add subscription if virtual address not already contained 2019-07-20 08:50:29 +02:00
Matthias Ringwald
a406d8c208 mesh: fix loading provisioning data 2019-07-20 08:50:28 +02:00
Matthias Ringwald
574ec93036 mesh: remove mesh_network_key_list_add_from_provisioning_data from mesh_keys.h 2019-07-20 08:50:28 +02:00
Matthias Ringwald
c4409fc5cf mesh: mesh_message_test - avoid two netkeys with same netkey index 2019-07-20 08:50:28 +02:00
Matthias Ringwald
b3f9370c3f mesh: fix mesh_message_test to compile with ENABLE_MESH_GATT_BEARER 2019-07-20 08:50:28 +02:00
Milanka Ringwald
6e948390f8 mesh: disabled unused debug output code 2019-07-20 08:50:28 +02:00
Matthias Ringwald
1e891ec87b mesh: appkey management - update code to use add appkey instead of mesh_application_key_set 2019-07-20 08:50:27 +02:00
Matthias Ringwald
f747e0fc9d mesh: pass netkey_index to mesh_application_key_set 2019-07-20 08:50:27 +02:00
Matthias Ringwald
bbc7a0af3e mesh: single mesh_upper_transport_setup_access_pdu_header instead of segmented/unsegmented 2019-07-20 08:50:27 +02:00
Matthias Ringwald
d984d09471 mesh: single mesh_upper_transport_send_access_pdu instead of segmented/unsegmented 2019-07-20 08:50:27 +02:00
Matthias Ringwald
dd5179955b mesh: single mesh_upper_transport_setup_control_pdu instead of segmented/unsegmented 2019-07-20 08:50:27 +02:00
Matthias Ringwald
f804bd819f mesh: single mesh_upper_transport_send_control_pdu instead of segmented/unsegmented 2019-07-20 08:50:27 +02:00
Matthias Ringwald
c4e43a88c2 mesh: single mesh_upper_transport_message_processed_by_higher_layer instead of segmented/unsegmented 2019-07-20 08:50:27 +02:00
Matthias Ringwald
9cee7f1f66 mesh: single mesh_upper_transport_register_control_message_handler instead of segmented/unsegmented 2019-07-20 08:50:27 +02:00
Matthias Ringwald
c9e8931a1a mesh: single mesh_upper_transport_register_access_message_handler instead of segmented/unsegmented 2019-07-20 08:50:27 +02:00
Matthias Ringwald
24c4300fb0 mesh: add mesh_upper_transport_register_control_message_handler 2019-07-20 08:50:27 +02:00
Matthias Ringwald
4e37c452f7 mesh: add mesh_upper_[un]segmented_message_processed_by_higher_layer 2019-07-20 08:50:26 +02:00
Matthias Ringwald
b2f661151c mesh: fix unit test 2019-07-20 08:50:26 +02:00
Matthias Ringwald
bdcf830af3 mesh: init mesh_lower_transport in mesh_message_test 2019-07-20 08:50:26 +02:00
Matthias Ringwald
ee9fbd2509 mesh: remove unused prototypes from mesh_transport.h 2019-07-20 08:50:26 +02:00
Matthias Ringwald
f33895f322 mesh: extract mesh_lower_transport 2019-07-20 08:50:26 +02:00
Matthias Ringwald
f46b7bdedf mesh: add mesh_pdu_type_t to mesh_network_pdu_t and mesh_transport_pdu_t, use mesh_network/transport_get/free to set pdu type on alloc 2019-07-20 08:50:26 +02:00
Matthias Ringwald
2a8034828b mesh: sort mesh_transprot into lower and upper transport 2019-07-20 08:50:26 +02:00
Matthias Ringwald
bd45235b2b mesh: message #24 send/receive ok 2019-07-20 08:50:25 +02:00
Matthias Ringwald
ab5f538b81 mesh: update sample message #21 2019-07-20 08:50:25 +02:00
Matthias Ringwald
0af47f73e5 mesh: implement mesh k4 key derivation function for application key id 2019-07-20 08:50:25 +02:00
Matthias Ringwald
6159937ae3 mesh: fix send of segmented messages to unicast addresses, translate dst field 2019-07-20 08:50:25 +02:00
Milanka Ringwald
b33cd4aa8e mesh: add test for service data with node identity 2019-07-20 08:50:25 +02:00
Matthias Ringwald
85c1bdd18f mesh: enable tests that use virtual address 2019-07-20 08:50:25 +02:00
Milanka Ringwald
7f82c3bf44 mesh: fix compile 2019-07-20 08:50:24 +02:00
Milanka Ringwald
5a90c404e7 mesh: add callback to mesh_network_pdu_t, add mesh_network_encrypt_proxy_message, add proxy encryption test 2019-07-20 08:50:24 +02:00
Milanka Ringwald
fac8099173 mesh: test for proxy config receive 2019-07-20 08:50:24 +02:00
Matthias Ringwald
a4173ea0fd mesh: use mesh_network_pdu_t and mesh_transport_pdu_t for send of access pdus 2019-07-20 08:50:24 +02:00
Matthias Ringwald
e9bdb728d9 mesh: use mesh_transport_pdu_t for sending control messages 2019-07-20 08:50:24 +02:00
Matthias Ringwald
d336fada9c mesh: add messages 21+22 to test 2019-07-20 08:50:24 +02:00
Matthias Ringwald
cf5f2da0f8 mesh: add send for existing receive messages 2019-07-20 08:50:24 +02:00
Matthias Ringwald
672862a090 mesh: all messages correct 2019-07-20 08:50:24 +02:00
Matthias Ringwald
5a924cc663 mesh: update message test 2019-07-20 08:50:24 +02:00
Matthias Ringwald
d0146fde70 mesh: remove send message tests 2019-07-20 08:50:24 +02:00
Matthias Ringwald
da34d6abec mesh: remove recv message tests 2019-07-20 08:50:24 +02:00
Matthias Ringwald
72f8d219d7 mesh: wait until btstack_crypto is idle after test 2019-07-20 08:50:24 +02:00
Matthias Ringwald
2f2a777b82 mesh: test control/access send 2019-07-20 08:50:24 +02:00
Matthias Ringwald
5041378811 mesh: test access/control messages 2019-07-20 08:50:24 +02:00
Matthias Ringwald
addf70a6aa mesh: refactor test receive network pdus 2019-07-20 08:50:24 +02:00
Matthias Ringwald
7e9790c014 mesh: validate lower transport pdu 2019-07-20 08:50:24 +02:00
Matthias Ringwald
ccfd39aaf9 mesh: add mesh_trasport to mesh_message_test 2019-07-20 08:50:24 +02:00
Matthias Ringwald
c956179d06 mesh: minimal test for mesh message decoding 2019-07-20 08:50:24 +02:00