63 Commits

Author SHA1 Message Date
Matthias Ringwald
6e131f4b89 mesh: rename sequence number functions mesh_sequence_number_x 2019-07-20 08:50:33 +02:00
Matthias Ringwald
04875b115d mesh: move sequence number to mesh_iv_index_seq_number 2019-07-20 08:50:33 +02:00
Matthias Ringwald
600d87833a mesh: mesh_transport_init -> mesh_upper_transport_init 2019-07-20 08:50:32 +02:00
Matthias Ringwald
85f6c8a0c0 mesh: use mesh_subnet_setup_for_netkey_index only on start and for tests 2019-07-20 08:50:32 +02:00
Matthias Ringwald
a2484a8470 mesh: update subnet based on network keys 2019-07-20 08:50:32 +02:00
Matthias Ringwald
ac7c0c0957 mesh: don't store primary network key in provisioning data 2019-07-20 08:50:32 +02:00
Matthias Ringwald
f276878605 mesh: let network handle proxy configuration messages from gatt bearer 2019-07-20 08:50:31 +02:00
Matthias Ringwald
f727526daf mesh: track if network pdu was received from gatt bearer 2019-07-20 08:50:31 +02:00
Matthias Ringwald
fd7ffe0047 mesh: use proxy_configuration_message instead of proxy_message 2019-07-20 08:50:31 +02:00
Matthias Ringwald
83f51e585b mesh: simulate gatt connected in mesh_message_test 2019-07-20 08:50:31 +02:00
Matthias Ringwald
4662af4a88 mesh: streamline adv + gatt baerer api: network pdu, provisioning pdu, beacon 2019-07-20 08:50:31 +02:00
Matthias Ringwald
a59b27450e mesh: avoid redirect of mesh network messages via mesh.c 2019-07-20 08:50:31 +02:00
Matthias Ringwald
48e5459ca0 mesh: support gatt-only config in mesh_message_test 2019-07-20 08:50:31 +02:00
Matthias Ringwald
77ba3d3f9f mesh: move src/ble/mesh to src/mesh 2019-07-20 08:50:31 +02:00
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