9262 Commits

Author SHA1 Message Date
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
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
80665fb721 btstack_crypto: add btstack_crypto_idle for unit testing 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
Matthias Ringwald
addf70a6aa mesh: refactor test receive network pdus 2019-07-20 08:50:24 +02:00
Matthias Ringwald
7e9790c014 mesh: validate lower transport pdu 2019-07-20 08:50:24 +02:00
Matthias Ringwald
77eae4789e mesh: provide mesh_network_pdu_data and mesh_network_pdu_data getter 2019-07-20 08:50:24 +02:00
Matthias Ringwald
976516893f mesh: remove NetMIC before passing pdu to lower transport 2019-07-20 08:50:24 +02:00
Matthias Ringwald
ccfd39aaf9 mesh: add mesh_trasport to mesh_message_test 2019-07-20 08:50:24 +02:00
Matthias Ringwald
febca2ab74 mesh: add c++ guard to mesh_transport 2019-07-20 08:50:24 +02:00
Matthias Ringwald
c956179d06 mesh: minimal test for mesh message decoding 2019-07-20 08:50:24 +02:00
Matthias Ringwald
4ee6a71aa9 mesh: extract mesh_transport 2019-07-20 08:50:24 +02:00
Matthias Ringwald
ae0fded623 mesh: fix headers 2019-07-20 08:50:24 +02:00
Matthias Ringwald
c66b1ca7ce mesh: move mesh nettwork getter into mesh_network 2019-07-20 08:50:24 +02:00
Matthias Ringwald
a0a1ee7ec3 mesh: fix akf/aid lookup for access message validation 2019-07-20 08:50:24 +02:00
Matthias Ringwald
2c2a98f169 mesh: dont free network pdus from network layer 2019-07-20 08:50:24 +02:00
Matthias Ringwald
a59413f37f mesh: limit retries for segmented upper transport message 2019-07-20 08:50:24 +02:00
Milanka Ringwald
e85388bcc4 mesh: calculate identity key 2019-07-20 08:50:23 +02:00
Milanka Ringwald
3886cd806e mesh: start setting up advertising with node identity 2019-07-20 08:50:23 +02:00
Milanka Ringwald
ff1bc96bd6 mesh: undo network ID flipping to connect with BlueNRG-Mesh 2019-07-20 08:50:23 +02:00
Milanka Ringwald
c6dc8338fb mesh: store/read provisionig info 2019-07-20 08:50:23 +02:00
Matthias Ringwald
5fee0b6b7c mesh: handle Segment Acknowledgement messages 2019-07-20 08:50:23 +02:00