240 Commits

Author SHA1 Message Date
Matthias Ringwald
8e385fa075 mesh: use block_ack from peer info for completed transport messages 2019-07-20 08:50:25 +02:00
Matthias Ringwald
6b0bede0ef mesh: store block_ack in peer info 2019-07-20 08:50:25 +02:00
Matthias Ringwald
1d1c93c5a3 mesh: provide CMakeLists.txt for test/mesh 2019-07-20 08:50:25 +02:00
Matthias Ringwald
2a0ab8c231 mesh: use replay protection list 2019-07-20 08:50:25 +02:00
Matthias Ringwald
16753ea2f9 mesh: handle network messages where IVI field indicates previous IV Index 2019-07-20 08:50:25 +02:00
Matthias Ringwald
5e31cfbcf4 mesh: send Config Model App Status for Config Model App Bind 2019-07-20 08:50:25 +02:00
Matthias Ringwald
0691c6f147 mesh: send Config Model Subscription Status for Config Model Subscription Add 2019-07-20 08:50:25 +02:00
Matthias Ringwald
f8e58086aa mesh: fix start/stop rx incomplete, only send ack for current/last message, discard message on rx timeout 2019-07-20 08:50:25 +02:00
Matthias Ringwald
a757415daf mesh: fix compile 2019-07-20 08:50:25 +02:00
Matthias Ringwald
491309357f mesh: start unprovisioned device beacon only when unprovisioned 2019-07-20 08:50:25 +02:00
Matthias Ringwald
d6ffd4d823 mesh: use seq_zero from transport_pdu 2019-07-20 08:50:25 +02:00
Matthias Ringwald
7ca1816e76 mesh: release current transport pdu when next one starts, send ack for current transport pdu 2019-07-20 08:50:25 +02:00
Matthias Ringwald
bd45235b2b mesh: message #24 send/receive ok 2019-07-20 08:50:25 +02:00
Matthias Ringwald
5d48d60257 mesh: fix seq zero check for segmented message reassembly 2019-07-20 08:50:25 +02:00
Matthias Ringwald
630ddcce25 mesh: fix TransMIC for segmented access message 2019-07-20 08:50:25 +02:00
Matthias Ringwald
183b283d8b mesh: unsegmented access digest, use correct label uuid 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
d29c49fc7d mesh: use default pts app key for transport tests 2019-07-20 08:50:25 +02:00
Matthias Ringwald
fd803dcccd mesh: transport ignore segments for older messages 2019-07-20 08:50:25 +02:00
Matthias Ringwald
3ea4429570 mesh: store application key from Configuration AppKey Add in TLV and load on start 2019-07-20 08:50:25 +02:00
Matthias Ringwald
ab39288ffc mesh: reset transport reassembly engine on transport pdu completely received 2019-07-20 08:50:25 +02:00
Matthias Ringwald
c4f26b6990 mesh: calc AID for received application key and set in transport 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
341b786682 mesh: respond to config appkey add 2019-07-20 08:50:25 +02:00
Matthias Ringwald
2f76da6d89 mesh: respond to Config Composition Data Get 2019-07-20 08:50:25 +02:00
Matthias Ringwald
a0ef0cb07f mesh: log LabelUUID when used for sending 2019-07-20 08:50:25 +02:00
Matthias Ringwald
9ca723fbc2 mesh: fix device key provisional data getter 2019-07-20 08:50:25 +02:00
Matthias Ringwald
9620054ea5 mesh: use single outgoing seq counter 2019-07-20 08:50:25 +02:00
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
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