David Lechner
0ca3fe1c31
remove semicolons from python files
...
Random semicolons in Python are distracting when reading the code.
2025-01-22 08:40:56 +01:00
David Lechner
73677349c9
tool: consistently use raw strings for regular expressions
...
Newer versions of Python raise a SyntaxWarning when a regular expression
contains a backslash that is not part of an escape sequence. To prevent
this warning and future exceptions, use raw strings for all regular
expressions. Even strings without escape sequences are converted for
consistency. Some IDEs will apply special syntax highlighting to raw
strings, which can make it easier to decipher regular expressions.
2025-01-22 08:40:56 +01:00
Steven Kneiser
4083f8da4e
test/mesh: fix sbc_encoder.h not found
by including ./3rd-party/bluedroid/* ( #591 )
2024-05-06 16:10:22 +02:00
Matthias Ringwald
c589a9bb89
test: use pkg-config to find cpputest in CMake builds
2024-01-25 12:48:26 +01:00
Matthias Ringwald
bc6a318f21
Avoid __ prefix in defines
2023-12-04 17:48:14 +01:00
Matthias Ringwald
98e87e7776
test: use pkg-config for cpputest build flags
2023-08-20 16:13:49 +02:00
Matthias Ringwald
d567aeb323
mesh: move gatt services into mesh/gatt-service folder
2022-10-03 12:31:34 +02:00
Milanka Ringwald
2e62f88c7e
docu: remove mapping of 300/600 baud to 2/3 mbps for posix targets
2022-06-23 20:55:55 +02:00
Matthias Ringwald
a9ec7ee053
test: avoid HCI_EVENT_IS_COMMAND_COMPLETE macro
2022-05-09 21:54:36 +02:00
Matthias Ringwald
54736c11db
port: use btstack_strcpy and btstack_cat instead of strcpy/strcat
2022-04-29 11:40:35 +02:00
Matthias Ringwald
1d3bd1e51c
test: only compile CppUTest files with c++ compiler
2022-03-11 22:15:38 +01:00
Matthias Ringwald
77fc16ac1c
test; fix build
2021-09-06 17:04:48 +02:00
Matthias Ringwald
bdf6d26abc
test: fix build
2021-04-07 22:44:01 +02:00
Matthias Ringwald
31437b5204
hci_dump: enable packet logger in tests
2021-03-11 15:53:46 +01:00
Matthias Ringwald
e51d966a3d
hci_dump: disable hci_dump for ports and tests
2021-03-11 15:53:45 +01:00
Matthias Ringwald
cf159062a6
btstack_uart: add NULL for SLIP function in existing uart implementations (avoid warnings)
2021-03-10 10:03:58 +01:00
Matthias Ringwald
6f122aa372
Remove btstack_run_loop_base from port and test
2021-03-08 10:39:10 +01:00
Matthias Ringwald
116288ddcc
test: add run loop base
2021-03-06 23:14:20 +01:00
Matthias Ringwald
f8da99a8ad
fix builds: libusb cmake, tool/metrics, test/mesh
2021-03-03 14:28:48 +01:00
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