9298 Commits

Author SHA1 Message Date
Matthias Ringwald
5d886e0232 mesh: improve debug output for sending ack 2019-07-20 08:50:25 +02:00
Matthias Ringwald
f529f52e08 mesh: extract stop ack/incomplete timer 2019-07-20 08:50:25 +02:00
Matthias Ringwald
62b75e2f6e mesh: abort sending segmented access messages 2019-07-20 08:50:25 +02:00
Matthias Ringwald
1671081823 mesh: prepare mesh console for access message tests with virtual address 2019-07-20 08:50:25 +02:00
Matthias Ringwald
8fb1156553 mesh: store pseudo_dst in dst for access pdu to virtual address 2019-07-20 08:50:25 +02:00
Matthias Ringwald
92a8bb0a3d mesh: streamline pseudo-dst -> dst translation for upper transport send 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
57d75359fe mesh: use lower 8 bytes of hash in calculating service data with node identity 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
Matthias Ringwald
1f14b985c9 mesh: use label uuid to encrypt access messages 2019-07-20 08:50:25 +02:00
Matthias Ringwald
35d72e7fa0 mesh: use virtual uuid for upper transport decryption 2019-07-20 08:50:25 +02:00
Matthias Ringwald
bd9920ce68 mesh: handle device key in new mesh transport key iterator, simplify code 2019-07-20 08:50:25 +02:00
Matthias Ringwald
e647d3c4d5 mesh: unify application and device key into transport key 2019-07-20 08:50:25 +02:00
Matthias Ringwald
ef1b7a347a mesh: lookup device key via mesh_application_key_list_get 2019-07-20 08:50:25 +02:00
Matthias Ringwald
1c135c1cb7 mesh: add mesh_network_address_virtual 2019-07-20 08:50:25 +02:00
Matthias Ringwald
56d016f692 btstack_crypto: fix typo in ccm functions 2019-07-20 08:50:25 +02:00
Milanka Ringwald
a6376dac39 mesh: fix segmentation on send message 2019-07-20 08:50:25 +02:00
Matthias Ringwald
3686d4f02c mesh: set netkey index for proxy decrypt 2019-07-20 08:50:24 +02:00
Milanka Ringwald
65404626bf mesh: fill the filter status message 2019-07-20 08:50:24 +02:00
Milanka Ringwald
c44fd4b49a mesh: decript proxy configuration PDU 2019-07-20 08:50:24 +02:00
Matthias Ringwald
4b7549296a mesh: add helpers 2019-07-20 08:50:24 +02:00
Matthias Ringwald
f458caac38 mesh: mesh test prepare send segmented access message test 2019-07-20 08:50:24 +02:00
Matthias Ringwald
c91786bcc4 mesh: resend segmented access messages to group/virtual addresses 2019-07-20 08:50:24 +02:00
Matthias Ringwald
2d31c4e83a mesh: add network helper 2019-07-20 08:50:24 +02:00
Milanka Ringwald
ca808f6247 mesh: use separate packet handlers for different types of mesh proxy messages, fix segmentation 2019-07-20 08:50:24 +02:00
Milanka Ringwald
4cc8dab74a mesh: use term mesh network pdu instead of mesh message 2019-07-20 08:50:24 +02:00
Matthias Ringwald
c4ef6852af mesh: fix transport seq auth 2019-07-20 08:50:24 +02:00
Matthias Ringwald
0820241e4a mesh: add show_usage to mesh test 2019-07-20 08:50:24 +02:00
Milanka Ringwald
bf9b4b3b4a mesh: use MESH_PROXY_DATA_PACKET type for proxy service 2019-07-20 08:50:24 +02:00
Milanka Ringwald
6ec300446a mesh: clean usage of two different adv types, send proxy data up to the app 2019-07-20 08:50:24 +02:00
Milanka Ringwald
7f82c3bf44 mesh: fix compile 2019-07-20 08:50:24 +02:00
Milanka Ringwald
f02c684c6c mesh: proxy service. send secure network beacon 2019-07-20 08:50:24 +02:00
Milanka Ringwald
c4e13a9302 mesh: provisioning device, use big endian device uuid 2019-07-20 08:50:24 +02:00
Milanka Ringwald
10bc94d076 mesh: gatt provisioning service, handle wrong mesh msg type 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
Milanka Ringwald
9b65b11c1e mesh: preliminary support for processing proxy pdus 2019-07-20 08:50:24 +02:00
Milanka Ringwald
e1a58304ec mesh: simplify logic in process_network_pdu_validate_d 2019-07-20 08:50:24 +02:00
Milanka Ringwald
8976316dca mesh: defer cache check after network mic validation 2019-07-20 08:50:24 +02:00
Milanka Ringwald
24284afc7e mesh: implement mesh_seq_auth_validate for single remote addres 2019-07-20 08:50:24 +02:00
Milanka Ringwald
534a2061c6 mesh: add mesh_network_seq 2019-07-20 08:50:24 +02:00
Milanka Ringwald
fee9a7b25f mesh: add send segmented access message to test 2019-07-20 08:50:24 +02:00
Milanka Ringwald
bec71e2448 mesh: fix crash on send segment after transport pdu tx complete 2019-07-20 08:50:24 +02:00
Milanka Ringwald
094df9d022 mesh: reset seg_o before sending unack'ed segments again 2019-07-20 08:50:24 +02:00
Milanka Ringwald
b53cd3bd65 mesh: provide mesh_transport_seq_zero based on seq in transport_pdu 2019-07-20 08:50:24 +02:00
Matthias Ringwald
bc0d07b4e9 mesh: store seg_zero in transport_pdu seq for segmented pdus 2019-07-20 08:50:24 +02:00
Matthias Ringwald
af0e9e5e24 mesh: set primary element address for mesh_transport 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