701 Commits

Author SHA1 Message Date
Matthias Ringwald
8eed85101f test/mesh: enable address sanitizer in cmake built 2020-08-08 19:47:49 +02:00
Matthias Ringwald
fe43086520 mesh: fix test/mesh Makefile built 2020-08-08 19:47:49 +02:00
Matthias Ringwald
81f6df8b78 mesh: stop health server publishing 2020-08-08 19:47:49 +02:00
Matthias Ringwald
ee4f8c36ef mesh: fix send segmented access message in mesh_pts 2020-08-08 19:47:49 +02:00
Matthias Ringwald
edf7dd0c54 mesh: dont load static app key for transport tests 2020-08-08 19:47:49 +02:00
Matthias Ringwald
03baefcc95 mesh: update pts ui to send network and access messages to test destinations 2020-08-08 19:47:49 +02:00
Matthias Ringwald
3bf6954eed mesh: dump received network pdus in mesh_pts 2020-08-08 19:47:49 +02:00
Matthias Ringwald
f29e499ee2 mesh: use pseudo dst for virtual address in mesh_pts 2020-08-08 19:47:49 +02:00
Matthias Ringwald
6e7785c71c mesh: use mesh_access_send_unacknowledged_pdu to send test network packets 2020-08-08 19:47:49 +02:00
Matthias Ringwald
18d0ae0600 mesh: send invite only in provisioner role if provisioning was started with provisioning_provisioner_start_provisioning 2020-08-08 19:47:49 +02:00
Matthias Ringwald
d76f65e8a1 mesh: select auth method in provisoner role in mesh_pts 2020-08-08 19:47:49 +02:00
Matthias Ringwald
d16ad46bc4 mesh: emit pb-adv link open failed if device does not responds 2020-08-08 19:47:49 +02:00
Matthias Ringwald
e6542936bd mesh: annotate device uuid is not copied in pb_adv_create_link 2020-08-08 19:47:49 +02:00
Matthias Ringwald
4802c66d6b mesh: rework setup and send of upper transport control pdus 2020-08-08 19:47:48 +02:00
Matthias Ringwald
734bae6528 mesh: replace mesh_upper_transport_setup_access_pdu with message builder 2020-08-08 19:47:48 +02:00
Matthias Ringwald
039cbf1d6c mesh: use mesh_upper_transport_pdu_t for all access messages, remove mesh_transport_pdu_t 2020-08-08 19:47:48 +02:00
Matthias Ringwald
2ddfd9e22b mesh: remove mesh_access_pdu_t getters 2020-08-08 19:47:48 +02:00
Matthias Ringwald
43d07e7f35 mesh: allocate network pdu for outgoing unsegmented access message in run function 2020-08-08 19:47:48 +02:00
Matthias Ringwald
e4121a3476 mesh: remove mesh_unsegmented_pdu_t 2020-08-08 19:47:48 +02:00
Matthias Ringwald
a97cf70aa5 mesh: use mesh_upper_transport_pdu for outgoing segmented control 2020-08-08 19:47:48 +02:00
Matthias Ringwald
8ec600ff6d mesh: use mesh_network_pdu/unsegmented_control for unsegmented control 2020-08-08 19:47:48 +02:00
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