680 Commits

Author SHA1 Message Date
Matthias Ringwald
1b51af657a mesh: use only segments in mesh_upper_transport_pdu_t, use mesh_upper_transport_pdu for unsegmented access 2020-08-08 19:47:48 +02:00
Matthias Ringwald
242605fa4f mesh: use mesh_upper_transport_pdu_t for segmented access message 2020-08-08 19:47:48 +02:00
Matthias Ringwald
5131e19543 mesh: store unsegmented control message in mesh-control-pdu for incoming 2020-08-08 19:47:48 +02:00
Matthias Ringwald
ba660d4251 mesh: remove mesh_transport_pdu_t from lower and upper transport 2020-08-08 19:47:48 +02:00
Matthias Ringwald
b1a7ae8f2c mesh: use mesh_access_pdu_t for outgoing segmented access messages 2020-08-08 19:47:48 +02:00
Matthias Ringwald
7a0b74888e mesh: remove mesh_upper_transport_set_higher_layer_handler, deliver pdu sent via corresponding access/control handlers 2020-08-08 19:47:48 +02:00
Matthias Ringwald
404d2482eb mesh: extend callback params for received access and control pdus 2020-08-08 19:47:48 +02:00
Matthias Ringwald
a4bbc09d8c mesh: mesh_message_pdu -> mesh_segmented_pdu 2020-08-08 19:47:47 +02:00
Matthias Ringwald
d38a76647a mesh: use mesh-unsegmented-pdu for unsegmented pdus instead of mesh-message-pdu 2020-08-08 19:47:47 +02:00
Matthias Ringwald
8facb3ea41 mesh: mesh-unsegmented-incoming -> mesh-unsegemented 2020-08-08 19:47:47 +02:00
Matthias Ringwald
a7f44e8db4 mesh: convert mesh_transport_t into mesh_message in lower transport before sending 2020-08-08 19:47:47 +02:00
Matthias Ringwald
160d2809bd mesh: use new mesh_access_pdu for incoming pdu handling in upper transport 2020-08-08 19:47:47 +02:00
Matthias Ringwald
3d9c3b8e63 mesh: use mesh_unsegmnted_incoming_pdu_t for unsegmented control messages 2020-08-08 19:47:47 +02:00
Matthias Ringwald
1aa2a11e65 mesh: deliver encrypted proxy message with MESH_NETWORK_PDU_ENCRYPTED and remove callback from mesh_network_t 2020-08-08 19:47:47 +02:00
Matthias Ringwald
aaa248aa80 mesh: wrap unsegmented access message into mesh_message_pdu_t before passing to access layer 2020-08-08 19:47:47 +02:00
Matthias Ringwald
e41a4a086c mesh: use mesh_message_t for unsegmented access messages 2020-08-08 19:47:47 +02:00
Matthias Ringwald
1375370385 test/mesh: remove -Wimplicit-fallthrough as it is clang-only 2020-03-11 15:59:51 +01:00
Matthias Ringwald
6fb99087c2 test/mesh: fix cmake build 2020-03-03 18:01:49 +01:00
Matthias Ringwald
ec422a3a49 mesh: fix MESH_SUBEVENT_PROXY_CONNECTED
Event does not have a status field
2020-01-07 22:23:36 +01:00
Matthias Ringwald
497cc6820f test/mesh: more warnings 2020-01-07 09:37:07 +01:00
Milanka Ringwald
d61023b23c mesh: add unit test for elements descriptions iterator, add missing getter for CONFIGURATION_COMPOSITION_DATA event, fix offsets in existing getters 2019-12-12 15:17:14 +01:00
Matthias Ringwald
f13fc29007 btstack_crypto: move rijndael/aes128 implementation into 3rd-party [a2471] 2019-12-07 22:32:03 +01:00
Milanka Ringwald
cc2a5f42a2 mesh: add skeleton files for mesh_configuration_client 2019-12-06 09:25:36 +01:00
Matthias Ringwald
7ee2bdaeef mesh: add generic level server to test/mesh, use bstack_assert, fix time calculation 2019-11-12 16:22:38 +01:00
Matthias Ringwald
f346f180a4 test/mesh: add fault state and add command to simulate fault 2019-10-29 19:19:38 +01:00
Matthias Ringwald
5d71beb8a1 mesh: allow to configure node info: cid, pid, vid 2019-10-29 17:12:15 +01:00
Matthias Ringwald
d425804b40 test/mesh: log incomplete segmented messages at EOF 2019-10-24 16:22:19 +02:00
Matthias Ringwald
98e0b87678 test/mesh: skip seg acks when reassembling segmented messages 2019-10-24 14:37:57 +02:00
Matthias Ringwald
765f9d5344 test/mesh: fix build of mesh_pty without proxy enabled 2019-10-24 13:46:11 +02:00
Matthias Ringwald
3c061251b2 test/mesh: decode segment acknowledgements 2019-10-24 11:22:27 +02:00
Matthias Ringwald
a1146ab854 test/mesh: add generic messages to dissector 2019-10-24 11:19:50 +02:00
Matthias Ringwald
ce4f7e0e0c test/mesh: process all received ADVs 2019-10-22 22:39:49 +02:00
Matthias Ringwald
0aa6ff4026 test/mesh: add Configuration and Health Server message names 2019-10-22 21:45:32 +02:00
Matthias Ringwald
eed276207a test/mesh: fix parsing received advs, create new segmented message on new seq_zero 2019-10-22 19:11:35 +02:00
Matthias Ringwald
3e35e030aa test/mesh: initial version of mesh-aware p .pklg dumper 2019-10-21 16:04:08 +02:00
Matthias Ringwald
6d64841b77 test/mesh: net_mic len depends on CTL, add network_encrypt 2019-10-18 22:28:32 +02:00
Matthias Ringwald
bbaf89325d test/mesh: add mesh network pdu deobfuscation and decryption 2019-10-18 19:25:27 +02:00
Matthias Ringwald
1d0ba3a509 test/mesh: mesh security toolbox in python 2019-10-18 11:51:20 +02:00
Matthias Ringwald
63197f4548 test/mesh: fix mesh_messag_test build 2019-10-11 16:08:10 +02:00
Matthias Ringwald
4926bfb09f test/mesh: enable asserts 2019-10-04 10:53:33 +02:00
Matthias Ringwald
6a5ffed8f9 fix warnings 2019-10-04 10:10:56 +02:00
Matthias Ringwald
d491c1ea62 test/mesh: add to test suite 2019-09-18 17:29:48 +02:00
Matthias Ringwald
84242f8829 test/mesh: add mesh_message_test to CMake build 2019-09-18 15:17:40 +02:00
Matthias Ringwald
b338ca6049 coverage: line and function coverage for core 2019-09-17 15:11:58 +02:00
Milanka Ringwald
30a044b095 mesh: rename pb_type_t to mesh_pb_type_t, fixes #249 2019-09-09 17:23:43 +02:00
Matthias Ringwald
dd729594dd mesh: use incoming_network_pdu_raw and incoming_network_pdu_decoded in upper transport 2019-08-20 22:27:29 +02:00
Matthias Ringwald
fb04bb57ea mesh: improve mesh_message_test - fix send tests 2019-08-20 18:08:45 +02:00
Matthias Ringwald
5d948fde5b mesh: separate code to expect gatt vs. adv messages 2019-08-20 16:34:07 +02:00
Matthias Ringwald
7a82a0c6a4 mesh: enable relay for test/mesh 2019-08-16 17:08:39 +02:00
Matthias Ringwald
047f254657 mesh: support advertising with node identity on all subnets 2019-08-16 16:02:33 +02:00