Matthias Ringwald
82b4f8a589
example/audio_duplex: avoid noise on start
2021-12-28 21:39:42 +01:00
Matthias Ringwald
f5cfc39fc2
example/audio_duplex: improve for stereo input
2021-12-28 21:39:42 +01:00
Tim Koers
0e83ff1de7
esp32: enable BR/EDR, LE, or BR/EDR?LE based on sdkconfig
2021-12-25 22:28:38 +01:00
Ricardo Quesada
4b08a03afa
esp32: update CMakeLists.txt file
...
This commit updates the esp32 CMakeLists.txt so that it is compatible
with the new way of creating CMakeLists.txt files in ESP-IDF.
Basically it replaces the old register_component() with
idf_component_register().
It also removes the relative references to lwip. This is because some
projects might want to puse btstack directly in their private "components"
folder (instead of being placed in the esp-idf/component folder)
It has been tested both by:
- placing btstack in esp-idf/components
- placing btstack in my_own_project/components
and it compiled Ok using "idf.py build"
Tested "pan_lwip_http_server" and compiled Ok as well.
2021-12-25 09:41:12 -08:00
Matthias Ringwald
2d311568fa
avdtp_source: use uint32_t for packet size validation
2021-12-24 14:09:28 +01:00
Matthias Ringwald
91b75982ac
hfp: removed command init in create_hfp_connection_context
2021-12-24 12:30:06 +01:00
Matthias Ringwald
7a6e2d5a07
libusb: do not detach kernel driver on Cygwin
2021-12-21 16:05:52 +01:00
Matthias Ringwald
e4722de56f
example/pbap_client_demo: improve user interface
2021-12-21 13:23:56 +01:00
Matthias Ringwald
c79e33a22c
pbap_client: emit vCard entry data as PBAP_DATA_PACKET
2021-12-21 13:23:56 +01:00
Matthias Ringwald
ebb9bbfb00
pbap_client: use SRM only if GOEP v2.0 or higher connection
2021-12-21 13:23:56 +01:00
Matthias Ringwald
3ffc2a09a4
goep_client: add goep_client_version_20_or_higher
2021-12-21 13:23:56 +01:00
Matthias Ringwald
7c7befac01
avrcp_browsing, goep_client: request 16-bit FCS for ERTM
2021-12-20 15:00:36 +01:00
Matthias Ringwald
71e8bc1a66
l2cap: reconfigure ertm tx buffers based on remote mps
2021-12-20 14:59:57 +01:00
Matthias Ringwald
23e3f93f2d
l2cap: extract l2cap_ertm_setup_buffers
2021-12-20 14:16:20 +01:00
Matthias Ringwald
c54378f194
l2cap: limit remote MTU by local tx configuration in ERTM
2021-12-20 12:53:42 +01:00
Matthias Ringwald
2cb53b6636
port/libusb: remove accidental commit for ENABLE_AVDTP_ACCEPTOR_EXPLICIT_START_STREAM_CONFIRMATION
2021-12-20 12:11:15 +01:00
Matthias Ringwald
8c9bb29ec2
example: init SM if LE supported to avoid issue with Android Cross-Transport Key-Derivation
2021-12-17 21:04:50 +01:00
Matthias Ringwald
9d65c99253
example: remove call to le_device_db_init
2021-12-17 20:48:53 +01:00
Matthias Ringwald
c0904bf32c
pbap_client: avoid emit operation complete on disconnect without previous connection opened
2021-12-17 20:48:53 +01:00
Milanka Ringwald
ba8d4e9bd2
doc: short A2DP/AVRCP overview
2021-12-17 17:11:22 +01:00
Milanka Ringwald
2d21ec1992
doc: fix api link from examples
2021-12-17 11:46:10 +01:00
Milanka Ringwald
d8612558f2
test/gatt_server: disconnect complete event with ongoing indication
2021-12-15 23:11:53 +01:00
Matthias Ringwald
0bd0d28918
pbap_client: support disconnect while operation is ongoing
2021-12-15 21:31:08 +01:00
Milanka Ringwald
3f353c9b00
avrcp_controller: query remote supported events only once
2021-12-15 21:26:13 +01:00
Milanka Ringwald
8206902c42
test/gatt_server: test connection complete and disconnect events
2021-12-15 20:38:34 +01:00
Milanka Ringwald
a8c93a4e4e
gatt_server: test ATT_WRITE_REQUEST
2021-12-15 09:17:43 +01:00
Milanka Ringwald
94c4ec6b2d
test/gatt_server: control L2CAP_EVENT_CAN_SEND_NOW event
2021-12-15 09:16:39 +01:00
Milanka Ringwald
25336c9461
test/gatt_server: integrate mock TLV
2021-12-14 18:39:53 +01:00
Milanka Ringwald
1e2cd7c0a8
test/mock: add memory based TLV
2021-12-14 18:38:58 +01:00
Milanka Ringwald
1b37bf00e2
test/gatt_server: mock att_dispatch
2021-12-14 14:15:40 +01:00
Milanka Ringwald
e2b8c0950d
test/gatt_server: add CMake file
2021-12-14 10:59:52 +01:00
Matthias Ringwald
5ba066244f
test/auto-pts: compile-time selection of __gcov_dump vs. __gcov_flush
...
__gcov_flush is a private symbol in Clang 10 and cannot be resolved with dlsym
2021-12-13 17:48:58 +01:00
Matthias Ringwald
04dff67be0
tool/btstack_parser: handle 'u' in defines
2021-12-13 17:22:41 +01:00
Matthias Ringwald
2e7076ac00
test: update return types for some mock functions
2021-12-13 17:03:37 +01:00
Milanka Ringwald
9f7e3af12b
MISRAC2012-Rule-10.3: att_db, btstack_stdin_embedded
2021-12-13 16:01:57 +01:00
Matthias Ringwald
9f4f788192
mesh_access: remove duplicate define of MESH_SUBEVENT_MESSAGE_NOT_ACKNOWLEDGED
2021-12-13 15:32:23 +01:00
Matthias Ringwald
6d105c7159
gap: return uint8_t for gap_encryption_key_size
2021-12-13 15:21:26 +01:00
Matthias Ringwald
f461b3dfe4
gap: return bool for gap_secure_connection
2021-12-13 15:21:26 +01:00
Matthias Ringwald
36c3546b50
gap: return bool gap_secure_connection_for_link_key_type
2021-12-13 15:21:26 +01:00
Matthias Ringwald
ff3f1026e3
gap: return bool for gap_authenticated
2021-12-13 15:21:26 +01:00
Matthias Ringwald
552b9260fd
gap: return bool for gap_mitm_protection_required_for_security_level
2021-12-13 15:21:26 +01:00
Matthias Ringwald
7040ba26e3
gap: return bool for gap_authenticated_for_link_key_type
2021-12-13 15:21:26 +01:00
Matthias Ringwald
d48d37c33f
l2cap: channel->automatic_credits is bool
2021-12-13 15:21:26 +01:00
Milanka Ringwald
ed68ae9dc7
att_server: fix compile
2021-12-13 15:13:19 +01:00
Milanka Ringwald
38b893aaba
MISRAC2012-Rule-10.4_a: att_db, att_db_util, att_dispatch, att_server
2021-12-13 14:52:33 +01:00
Milanka Ringwald
7fee22d161
att_server: use uint16 for value_indication_handle
2021-12-13 14:51:57 +01:00
Milanka Ringwald
7a772b0948
att_db: use "u" for defines
2021-12-13 14:48:44 +01:00
Milanka Ringwald
e2b97c7b20
btstack_defines: use "u" for defines
2021-12-13 14:48:30 +01:00
Milanka Ringwald
8c7c78abdb
btstack_defines: add "u" for defines
2021-12-13 14:35:47 +01:00
Milanka Ringwald
429d695f3d
att_dispatch: use bool
2021-12-13 14:16:24 +01:00