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
Matthias Ringwald
9c803eb777
test/hfp: enable asserts
2024-11-16 18:06:15 +01:00
Matthias Ringwald
d4c70691b6
test/hfp: test invalid commands
2024-07-31 13:33:49 +02:00
Matthias Ringwald
e1c4900728
test/hfp: test parsing of apple extensions
2024-07-23 18:26:02 +02:00
Matthias Ringwald
c94576d536
test/hfp: test lower command
2024-06-10 13:09:36 +02:00
Matthias Ringwald
bee8b0c948
test/hfp: add long command
2024-06-10 13:09:36 +02:00
Matthias Ringwald
8f4649e3ba
hci: remove bool from hci_reserve_packet_buffer and similiar higher layer functions
2024-01-25 14:05:06 +01:00
Matthias Ringwald
c589a9bb89
test: use pkg-config to find cpputest in CMake builds
2024-01-25 12:48:26 +01:00
Matthias Ringwald
98e87e7776
test: use pkg-config for cpputest build flags
2023-08-20 16:13:49 +02:00
Matthias Ringwald
3a19f7e295
test/hfp: fix link settings test
2023-06-14 14:35:29 +02:00
Matthias Ringwald
b4320e7fd0
hfp: filter allowed packet types by sco packets supported by remote
2023-06-01 14:38:59 +02:00
Matthias Ringwald
0b78a44766
hci: provide remote usable sco packet types
2023-06-01 14:38:59 +02:00
Matthias Ringwald
c92ca2c818
hci: provide usable sco packet types
2023-06-01 14:38:57 +02:00
Matthias Ringwald
8deec6605c
hfp: remove trailing newline/carriage return in custom command event
2023-05-30 15:25:32 +02:00
Matthias Ringwald
2cd3b4c408
test/hfp: verify line buffer for custom commands
2023-05-30 14:08:52 +02:00
Matthias Ringwald
d2621a777e
test/hfp: add tests for custom commands
2023-05-27 17:05:37 +02:00
Matthias Ringwald
20d8d1cfcd
test/hfp: fix warnings
2023-05-27 16:54:28 +02:00
Matthias Ringwald
937f816c55
test/hfp: test lookup of mandatory safe settings
2023-05-26 11:08:48 +02:00
Matthias Ringwald
91dcc65818
test/hfp: prepare for use of mandatory safe settings
2023-05-26 11:08:48 +02:00
Matthias Ringwald
25ffee3989
hfp: add hfp_h2_sync implementation
2023-02-28 17:07:40 +01:00
Matthias Ringwald
4cedf01c11
test/hfp: re-implement hfp h2 synchronization
2023-02-28 17:07:40 +01:00
Matthias Ringwald
05311d018c
test/hfp: add sco_demo_util with data tests
2023-02-27 12:31:37 +01:00
Matthias Ringwald
da8e14c5aa
test/hfp: test alpha field in call waiting
2022-08-25 15:11:58 +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
016a59df11
test/hfp: add +CLIP test data
2022-03-18 09:30:47 +01: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
Milanka Ringwald
688428b6a1
hfp: fix type in event name HFP_SUBEVENT_STOP_RINGING and HFP_SUBEVENT_START_RINGING
2021-07-22 14:06:03 +02:00
Milanka Ringwald
6ba83b5e65
hfp: update API docu, remove hfp_hf_activate_echo_canceling_and_noise_reduction
2021-07-13 14:50:37 +02:00
Milanka Ringwald
3cfa2dc3c7
test/hfp: fix compile
2021-07-09 15:16:54 +02:00
Milanka Ringwald
af97579e44
hfp_hf: rename voice_recognition_notification functions
2021-07-09 14:56:56 +02:00
Matthias Ringwald
e0ff5d41db
test: fix c/c++ mixed compile warning, streamline makefile
2021-06-12 12:03:02 +02:00
Matthias Ringwald
ea6ff7d62a
test/hfp: fix test sequences for '+BTRH:"
2021-05-09 23:27:03 +02:00
Matthias Ringwald
69bcc358f2
test/hfp: use btstack_event getters
2021-04-13 22:23:33 +02:00
Matthias Ringwald
588df5e92a
test/hfp: rework CMake build
2021-04-13 21:52:35 +02:00
Matthias Ringwald
37bb4f7b91
test/hfp: fix build
2021-04-08 12:24:22 +02:00
Matthias Ringwald
3e0b44a98e
test/hfp: fix some test sequences
2021-04-08 12:00:57 +02:00
Matthias Ringwald
11d54508be
hfp: use acl_handle and sco_handle in events
2021-04-07 18:28:20 +02: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
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
858a092d6e
test/hfp: fix build
2020-12-11 22:29:13 +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
6ccd824859
update python scripts to python3
2020-11-03 15:19:00 +01:00
Matthias Ringwald
f8301d4687
hfp: fix parsing of ranges e.g. in +CIND responses
2020-09-29 12:20:52 +02:00
Matthias Ringwald
28b5b606bb
test/coverage: disable address sanitizer for coverage measurements
2020-09-24 15:28:06 +02:00
Matthias Ringwald
352a05047d
hfp: use HFP_SCO_PACKET_TYPES in link settings table
2020-09-09 12:14:37 +02:00
Matthias Ringwald
01e5b7274c
hfp: filter link setting by allowed sco packet types
2020-09-09 12:14:37 +02:00