717 Commits

Author SHA1 Message Date
Matthias Ringwald
71d5257663 test: remove HAVE_ASSERT from coverage tests 2021-01-29 21:47:15 +01:00
Matthias Ringwald
2b6ecffc7f cmake: use pkg config for libusb compile/link flags 2021-01-21 18:57:04 +01:00
Matthias Ringwald
cd56fb443c test: enable address sanitzier for make test 2020-12-10 11:52:05 +01:00
Matthias Ringwald
3d87570f86 test: prepare separate builds for unit test with address sanitizer vs. coverage 2020-12-10 11:52:05 +01:00
Milanka Ringwald
39426e8a44 test/config: add ENABLE_PRINTF_HEXDUMP 2020-11-06 14:07:45 +01:00
Milanka Ringwald
02a3cd7f00 test/config: sort defines alphabetically 2020-11-06 14:03:27 +01:00
Milanka Ringwald
6ccd824859 update python scripts to python3 2020-11-03 15:19:00 +01:00
Matthias Ringwald
28b5b606bb test/coverage: disable address sanitizer for coverage measurements 2020-09-24 15:28:06 +02:00
Matthias Ringwald
b084b67c92 test/mesh: use LFSR instead of libc rand() 2020-08-24 16:23:52 +02:00
Matthias Ringwald
b31f07b701 test/mesh: call mock_init, report name of unexpected pdu 2020-08-24 15:50:15 +02:00
Matthias Ringwald
24889c9aa6 test/mesh: disable leak detection for mesh_message_test 2020-08-24 14:07:34 +02:00
Matthias Ringwald
c9fe0d9fb4 test/mesh: disable leak detection for mesh_message_test 2020-08-24 13:57:45 +02:00
Matthias Ringwald
2908c9e636 test/mesh: report gatt packets as sent to avoid memory leak in unit test 2020-08-21 18:22:37 +02:00
Matthias Ringwald
df71a9a479 mesh: fix compile warnings 2020-08-08 19:47:49 +02:00
Matthias Ringwald
17756958b1 mesh: let make test runs all unit tests 2020-08-08 19:47:49 +02:00
Matthias Ringwald
1e116f542a mesh: add all tests to CMake built 2020-08-08 19:47:49 +02:00
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