15198 Commits

Author SHA1 Message Date
Matthias Ringwald
5f52069457 hci: provide remote usable sco packet types 2023-06-01 17:39:35 +02:00
Matthias Ringwald
800d8642f5 hci: provide usable sco packet types 2023-06-01 17:39:35 +02:00
Matthias Ringwald
149563d39c hci: store usable acl packet types unflipped 2023-06-01 17:39:35 +02:00
Matthias Ringwald
0bd5f3f6b3 hci: make remote_supported_features classic-only 2023-06-01 17:39:35 +02:00
Matthias Ringwald
61faba5f48 bluetooth: add generic SCO packet types for all SCO and eSCO packets 2023-06-01 17:39:35 +02:00
Matthias Ringwald
6692d5d644 hci: fix init with HAVE_HOST_CONTROLLER_API 2023-05-31 19:02:29 +02:00
Matthias Ringwald
3f217563a4 hfp: fix emit HFP_SUBEVENT_AUDIO_CONNECTION_ESTABLISHED 2023-05-31 13:03:22 +02:00
Matthias Ringwald
1c6f668bc0 Merge branch 'develop'
# Conflicts:
#	README.md
2023-05-31 11:13:40 +02:00
Matthias Ringwald
9a0af64aaa changelog: prepare for 1.5.6 release 2023-05-31 11:12:01 +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
c8149263fa hfp: provide sco packet types and packet lengths in HFP_SUBEVENT_AUDIO_CONNECTION_ESTABLISHED 2023-05-30 14:14:29 +02:00
Matthias Ringwald
2cd3b4c408 test/hfp: verify line buffer for custom commands 2023-05-30 14:08:52 +02:00
Matthias Ringwald
f79a7821e6 hfp: fix lookahead processing for custom commands 2023-05-30 14:08:52 +02:00
Matthias Ringwald
b632467195 btstack_crypto: fix warning 2023-05-27 17:10:29 +02:00
Matthias Ringwald
ffbed5cf91 changelog: mention hfp_hf_register_custom_at_command 2023-05-27 17:07:40 +02:00
Matthias Ringwald
d2621a777e test/hfp: add tests for custom commands 2023-05-27 17:05:37 +02:00
Matthias Ringwald
04cf3dd4b6 hfp: check for custom commands in both roles 2023-05-27 16:55:33 +02:00
Matthias Ringwald
892f58a83a hfp_hf: emit event for custom at commands 2023-05-27 16:55:33 +02:00
Matthias Ringwald
6e64d9fef6 hfp: pass isHandsFree into hfp_custom_command_lookup 2023-05-27 16:55:33 +02:00
Matthias Ringwald
077c2d9275 hfp_hf: add hfp_hf_register_custom_at_command 2023-05-27 16:55:33 +02:00
Matthias Ringwald
7404dce327 hfp: add hfp_custom_commands_hf 2023-05-27 16:55:33 +02:00
Matthias Ringwald
6d9a41f9b1 hfp: use custom_at_command_id for both roles 2023-05-27 16:55:33 +02:00
Matthias Ringwald
7f8f119190 hfp: emit HFP_SUBEVENT_CUSTOM_AT_MESSAGE_SENT after sending custom message 2023-05-27 16:55:33 +02:00
Matthias Ringwald
f703e17057 hfp: fix spelling of command tables 2023-05-27 16:55:27 +02:00
Matthias Ringwald
20d8d1cfcd test/hfp: fix warnings 2023-05-27 16:54:28 +02:00
Matthias Ringwald
1f0b0879d3 example/a2dp_sink_demo: fix sending of delay report / cache local seid 2023-05-26 20:41:53 +02:00
Matthias Ringwald
937f816c55 test/hfp: test lookup of mandatory safe settings 2023-05-26 11:08:48 +02:00
Matthias Ringwald
3ad75286b3 hfp: use mandatory safe settings considering BR/EDR Secure Connections to accept synchronous connections 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
13ea5944fd hfp: use CODEC_MASK_OTHER for mSBC + LC3-SWB, use max latency from spec for SCO 2023-05-26 11:08:48 +02:00
Milanka Ringwald
fcebe16748 test/gap: add more unit tests 2023-05-26 09:08:31 +02:00
Milanka Ringwald
cedd8c8190 test/l2cap-cbm: remove call to static function 2023-05-26 09:08:31 +02:00
Milanka Ringwald
8edfa49c4b test/l2cap-cbm: add deprecated l2cap calls 2023-05-26 09:08:31 +02:00
Milanka Ringwald
caaf5151f1 hci: return ERROR_CODE_COMMAND_DISALLOWED if address is already on controller 2023-05-26 09:08:23 +02:00
Milanka Ringwald
79a2851b6a hci: check as first the connection identifier, then if there is a free place on Bluetooth module 2023-05-26 09:07:59 +02:00
Matthias Ringwald
7555fa8be4 hfp_codec: fix build without ENABLE_HFP_WIDE_BAND_SPEECH 2023-05-25 19:13:38 +02:00
Matthias Ringwald
712c022a28 hfp_codec: fix build without ENABLE_HFP_SUPER_WIDE_BAND_SPEECH 2023-05-25 18:42:26 +02:00
Matthias Ringwald
0a4f399a9d hfp_codec: provide btstack_sbc_encoder_state_t in hfp_codec_init_msbc
Prepare hfp_codec API to support multiple parallel encoders
2023-05-25 18:39:17 +02:00
Matthias Ringwald
aeb2ea1148 hfp_codec: split hfp_codec_init into individual functions for mSBC and LC3-SWB 2023-05-25 18:14:51 +02:00
Matthias Ringwald
64126f36f2 hfp: use mSBC link settings for LC3_SWB 2023-05-25 17:38:04 +02:00
Matthias Ringwald
73f498e7b8 hci: assume 2-bytes per SCO sample only if input sample size is 16-bit 2023-05-24 14:43:30 +02:00
Matthias Ringwald
d552970049 src: suppress false positives for cppcheck 2.10 2023-05-23 22:20:37 +02:00
Matthias Ringwald
806089a7cc hfp: update codecs array in-place 2023-05-23 22:06:32 +02:00
Matthias Ringwald
c997a1dfde goep_client: support rfcomm connections with goep over l2cap enabled 2023-05-23 22:06:32 +02:00
Matthias Ringwald
de42cac54a sm: extract sm_run_non_connection_logic 2023-05-23 11:55:03 +02:00
Matthias Ringwald
b919f26479 sm: extract sm_run_state for send confirmation, pairing random, dhkey check command 2023-05-23 11:55:03 +02:00
Matthias Ringwald
f9bda154c2 sm: extract sm_pdu_validate_and_get_opcode 2023-05-23 11:55:03 +02:00
Matthias Ringwald
0038504e91 gatt_client: reduce number of return statements 2023-05-23 11:55:03 +02:00
Matthias Ringwald
92a7335e86 gatt_client: extract gatt_client_run_for_client_start_signed_write, simplify logic 2023-05-23 11:54:57 +02:00
Matthias Ringwald
2da0d963df gatt_client: extract code to handle att read response, read by type and write response 2023-05-23 11:30:23 +02:00