12460 Commits

Author SHA1 Message Date
Matthias Ringwald
1167ff8389 hfp_ag: fix send cmd via generator 2021-03-31 10:13:29 +02:00
Matthias Ringwald
894d499cbb hfp_ag: fix function name 2021-03-31 09:57:23 +02:00
Matthias Ringwald
ff7d6aea3a src: replace sprintf with snprintf and zero last byte 2021-03-30 15:53:50 +02:00
Matthias Ringwald
924c007898 tool/misc: replace sprintf with snprintf and zero last byte using coccinelle 2021-03-30 15:51:40 +02:00
Matthias Ringwald
ae46d66684 hfp_ag: skip comma after last status indicator 2021-03-30 14:02:42 +02:00
Matthias Ringwald
d0a0eceeda hfp_ag: trigger codec exchange and disconnect after all other state machines 2021-03-30 13:52:44 +02:00
Matthias Ringwald
fe62696f0f hfp demos: remove the warning about unhandled HFP meta events 2021-03-30 11:34:51 +02:00
Matthias Ringwald
1b043d19e0 hfP_ag_demo: remove broken error report (handle as part of individual events) 2021-03-30 10:21:37 +02:00
Matthias Ringwald
fded480ca8 a2dp_source: reset sep_discovery_cid if no suitable sep found 2021-03-30 09:27:19 +02:00
Matthias Ringwald
5a4785c8a7 hfp_hf: only emit single event for RING and AG Status updates 2021-03-29 16:01:21 +02:00
Matthias Ringwald
7c76cd6112 avoid #include "btstack.h" by core stack 2021-03-29 15:10:28 +02:00
Matthias Ringwald
8e85021e5f
Merge pull request #348 from dlech/patch-1
changelog: add missing bullet points in recent entries
2021-03-29 12:34:53 +02:00
David Lechner
693c9a6e8a
Add bullet points in recent changelog entries
Without the bullet points, the changelog is difficult to read when rendered on GitHub.
2021-03-26 11:21:29 -05:00
Matthias Ringwald
c8dfe071e5 hci_transport: extract convenience function declaration for h4, h5, em9304_spi, and usb into separate hci_transport_{type}.h 2021-03-26 11:51:57 +01:00
Matthias Ringwald
7ca89cabe0 hfp: declare arrays param in init functions as const 2021-03-26 10:04:07 +01:00
Bjoern Hartmann
8300a979e2 posix: check if file was opened successfully 2021-03-25 22:13:10 +01:00
Matthias Ringwald
bec5f683aa gap: only store link key for ssp if remote side has set bondable in io cap auth requirements as well 2021-03-25 10:20:00 +01:00
Matthias Ringwald
50d7398c74 hci: store io cap response auth requirements 2021-03-25 10:18:16 +01:00
Matthias Ringwald
8dbd61593e hci: reply to IO Capabilities request if not bondable, too. 2021-03-25 10:01:56 +01:00
Matthias Ringwald
a8d20135f0 gap: calculate IO Cap AuthReq Bondable Mode based on gap_ssp_set_authentication_requirement and gap_set_bondable_mode 2021-03-25 09:31:42 +01:00
Matthias Ringwald
6058cb0da7 examples: use btstack_event.h getters instead of direct array access, use enum to compare status codes 2021-03-25 08:58:57 +01:00
Matthias Ringwald
d04d6ac3e2 hsp ag: emit HSP_SUBEVENT_BUTTON_PRESSED instead of audio connection setup/release 2021-03-24 21:31:12 +01:00
Matthias Ringwald
fcf88f47f1 hci: improve max acl frag calculation for ENABLE_LE_LIMIT_ACL_FRAGMENT_BY_MAX_OCTETS 2021-03-24 14:23:31 +01:00
Matthias Ringwald
005e7bd2dd nordic_spp_le_streamer: get context to track throughput 2021-03-24 14:22:27 +01:00
Matthias Ringwald
0d4e135319 a2dp_source: ENABLE_A2DP_SOURCE_EXPLICIT_CONFIG disables auto-config 2021-03-24 10:35:36 +01:00
Matthias Ringwald
1c6acc9c58 a2dp_source: extract a2dp_source_set_config 2021-03-24 10:29:28 +01:00
Bjoern Hartmann
1d882eda6f hsp: fix at command format 2021-03-24 09:04:14 +01:00
Matthias Ringwald
ffc05fad03 a2dp_source: drop avdtp_stream_endpoint_context_t 2021-03-23 18:46:56 +01:00
Matthias Ringwald
2a9f9e2af4 a2dp_source: collect state for sep discovery 2021-03-23 18:46:56 +01:00
Matthias Ringwald
b1041d0e98 a2dp_source: use sep_discovery_cid instead of a2dp_source_cid 2021-03-23 18:46:56 +01:00
Matthias Ringwald
16d361c46f a2dp_source: move outgoing_active into avdtp_connection_t 2021-03-23 18:46:56 +01:00
Matthias Ringwald
cf913c0c9a a2dp_source: move stream_endpoint_configured into avdtp_connection_t 2021-03-23 18:46:56 +01:00
Matthias Ringwald
f75c61fdd1 a2dp_source: move have_config into avdtp_connection_t 2021-03-23 18:46:56 +01:00
Matthias Ringwald
b7eb14d40f a2dp_source: use getter for outgoing_active, have_configuration, stream_configured 2021-03-23 18:46:56 +01:00
Matthias Ringwald
80ad01c556 a2dp_source: drop simple a2dp_source_cid checks 2021-03-23 18:46:56 +01:00
Matthias Ringwald
5d747e2271 a2dp_source: remove global a2dp_source_state 2021-03-23 18:46:56 +01:00
Matthias Ringwald
1da2869325 a2dp_source: use a2dp_source_state from connection 2021-03-23 18:46:56 +01:00
Matthias Ringwald
1e3240657b a2dp_source: lookup connection before access to a2dp_source_state 2021-03-23 18:46:56 +01:00
Matthias Ringwald
ff43929d9e a2dp_source: mirror global a2dp_source_state in connection struct 2021-03-23 18:46:56 +01:00
Matthias Ringwald
e50adcaf1c
Merge pull request #346 from dlech/fix-sm-compile-error
sm: fix compile error when ENABLE_LE_CENTRAL is not set
2021-03-23 18:46:30 +01:00
David Lechner
a6ca6916c2 Fix compile error when ENABLE_LE_CENTRAL is not set
This fixes the following errors:

    ../../lib/btstack/src/ble/sm.c: In function 'sm_pdu_handler':
    ../../lib/btstack/src/ble/sm.c:3823:13: error: unused variable 'ltk' [-Werror=unused-variable]
    3823 |     uint8_t ltk[16];
        |             ^~~
    ../../lib/btstack/src/ble/sm.c:3822:9: error: unused variable 'have_ltk' [-Werror=unused-variable]
    3822 |     int have_ltk;
        |         ^~~~~~~~
2021-03-23 12:21:49 -05:00
Matthias Ringwald
5b391ed707 avdtp: prefix error codes with AVDTP_ERROR_CODE_ 2021-03-23 18:08:47 +01:00
Matthias Ringwald
1ef2d533ff avdtp: avdtp_register_media_config_validator allows to validate media codec configuration 2021-03-23 15:12:52 +01:00
Matthias Ringwald
cdc66b5eb8 hci_dump: add hci_dump_enable_packet_log to enable/disable packet logging 2021-03-23 11:24:05 +01:00
Matthias Ringwald
a5cfd2f568 doc: fix spelling in profiles.md 2021-03-22 19:37:29 +01:00
Matthias Ringwald
68cec4c601 Changelog: update 2021-03-22 15:00:50 +01:00
Matthias Ringwald
694f87bfcd ublox_spp_service_server: use events instead of callback 2021-03-22 14:58:56 +01:00
Matthias Ringwald
257f2b0068 nordic_spp_service: use events instead of callback 2021-03-22 14:46:32 +01:00
Matthias Ringwald
f8aace927f btstack_defines: add events for SPP-like GATT services 2021-03-22 14:45:07 +01:00
Matthias Ringwald
37a7ced06e avrcp_controller: added avrcp_controller_start_press_and_hold_cmd 2021-03-19 17:01:51 +01:00