1670 Commits

Author SHA1 Message Date
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
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
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
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
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
24284afc7e mesh: implement mesh_seq_auth_validate for single remote addres 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
Matthias Ringwald
7a8c02e5c5 mesh: mesh_transport_init registers with mesh_network 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
c00ae1e202 mesh: release crypto lock 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
597b21e892 mesh: ignore Segmentation Ack if no outgoing upper transport 2019-07-20 08:50:24 +02:00
Matthias Ringwald
17164a95e1 mesh: delete dead code 2019-07-20 08:50:24 +02:00
Matthias Ringwald
3609ec5369 mesh: mesh_upper_transport_access_send handles 8 byte TransMIC 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
71cb16f65a mesh: fix processing unsegmented access message 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
acc9b2251c mesh: add mesh_network/transport_dump/reset 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
a21b2cc401 mesh: callbacks for (un)segmented access/control messages 2019-07-20 08:50:24 +02:00