1529 Commits

Author SHA1 Message Date
Matthias Ringwald
553e128c6f mesh: set primary element address in lower transport 2019-07-20 08:50:26 +02:00
Matthias Ringwald
2e3a410f6f mesh: fix format of Config Model Publication Status 2019-07-20 08:50:26 +02:00
Matthias Ringwald
796f25b442 mesh: respond to config_model_publication_virtual_address_add 2019-07-20 08:50:26 +02:00
Matthias Ringwald
1d36037326 mesh: add mesh_lower_transport_set_higher_layer_handler to avaoid calling upper transport directly 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
f4e1709172 mesh: complete split-off for lower transport 2019-07-20 08:50:26 +02:00
Matthias Ringwald
5a46508a34 mesh: single queue for received upper transport messages, new mesh_lower_transport_message_processed_by_higher_layer 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
f3f54aca9a mesh: reconstruct SeqAuth from network seq and seq_zero 2019-07-20 08:50:26 +02:00
Matthias Ringwald
257edf9b97 mesh: extract mesh_peer from mesh_transport 2019-07-20 08:50:26 +02:00
Matthias Ringwald
14476d0514 mesh: handle config_model_subscription_virtual_address_add 2019-07-20 08:50:26 +02:00
Matthias Ringwald
ac529a2ab2 mesh: use seq_zero to reconstruct SeqAuth for App / Device nonce 2019-07-20 08:50:26 +02:00
Matthias Ringwald
86409f1d2c mesh: set lsb of iv index for segmented access messsages 2019-07-20 08:50:26 +02:00
Matthias Ringwald
ddf5aebd1d mesh: send config model app status on config model app bind 2019-07-20 08:50:25 +02:00
Matthias Ringwald
b1d149f5f6 mesh: fix transport setup 2019-07-20 08:50:25 +02:00
Matthias Ringwald
93a94cc802 mesh: inline seq and seq_zero validation 2019-07-20 08:50:25 +02:00
Matthias Ringwald
c88da99af5 mesh: replace test_transport_pdu by transport_pdu in peer info 2019-07-20 08:50:25 +02:00
Matthias Ringwald
707df8d95d mesh: reset test_transport_pdu when message is complete 2019-07-20 08:50:25 +02:00
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
942b65389a mesh: update message #24 sample data 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