12474 Commits

Author SHA1 Message Date
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
Matthias Ringwald
0c436f0b86 avrcp_controller: use bool press_and_hold_cmd field 2021-03-19 16:40:07 +01:00
Matthias Ringwald
48e6eeee0f hfp: emit HFP_SUBEVENT_AUDIO_CONNECTION_RELEASED on RFCOMM Disconnect 2021-03-19 16:09:57 +01:00
Matthias Ringwald
b398819556 sdp_util: remove ; after function declaration 2021-03-19 10:48:20 +01:00
Matthias Ringwald
927fd23f2a avrcp_target: emit operation button release event 2021-03-19 10:41:35 +01:00
Matthias Ringwald
6e1d8dbc53 a2dp_source_demo: ignore operation button release 2021-03-19 10:40:41 +01:00
Matthias Ringwald
e4ecb97a75 a2dp examples: show button state for panel operations 2021-03-19 10:20:52 +01:00
Matthias Ringwald
319131f8bc avrcp: new field button_pressed in AVRCP_SUBEVENT_OPERATION 2021-03-19 10:06:54 +01:00
Matthias Ringwald
0ee74f3d64 btstack_run_loop_core_foundation: fix function names 2021-03-18 21:25:10 +01:00
Matthias Ringwald
1b83a0693d avrcp_target: fix notification changed event 2021-03-18 18:55:46 +01:00
Matthias Ringwald
810b0d8456 avrcp_target: fix command handling (regression from 9970238) 2021-03-17 16:36:29 +01:00
Bjoern Hartmann
3db60f785b hfp_ag: add events for speaker and microphone volume change 2021-03-17 10:05:19 +01:00
Matthias Ringwald
90da341b42 freertos: remove btstack_run_loop_freertos_execute_code_on_main_thread_from_isr
For IRQ drivers, please register data source and call btstack_run_loop_freertos_trigger_exit insetad.
2021-03-16 10:49:07 +01:00
Matthias Ringwald
d145c9147a Revert "freertos: btstack_run_loop_freertos_execute_code_on_main_thread_from_isr"
This reverts commit be9b024751bdc1b57ccaa1998bf0ffa117342396.
2021-03-16 10:46:17 +01:00
Matthias Ringwald
a813c6af95 stm32-f4discovery-usb: fix build 2021-03-15 18:43:14 +01:00
Matthias Ringwald
73048ce6fb avdtp_util: fix some events
AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_ATRAC_CAPABILITY,
AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CAPABILITY
AVDTP_SUBEVENT_SIGNALING_CONTENT_PROTECTION_CAPABILITY
AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_OTHER_CONFIGURATION
2021-03-15 18:15:10 +01:00
Matthias Ringwald
016e946421 btstack_run_loop: fix warning in dump timers 2021-03-13 10:12:52 +01:00
Milanka Ringwald
f3a32fdcb9 hid: move hid.h to src folder 2021-03-12 14:38:41 +01:00
Matthias Ringwald
ca0e2e7e9f a2dp_source: skip stream endpoints that are reported as 'in use' during configuration 2021-03-12 14:15:00 +01:00
Matthias Ringwald
cd0bbc03f2 a2dp_source: fix a2dp_source_establish_stream
a2dp_source_establish_stream did return an error if an avdtp connection exists, even if the previous attempt to setup a sep failed
2021-03-12 14:12:10 +01:00
Matthias Ringwald
3ec9897319 avdtp: make avdtp_get_connection_for_bd_addr public 2021-03-12 13:53:35 +01:00
Matthias Ringwald
1773fdc79d chipset: collect portable controller code in chipset/controller 2021-03-11 21:24:51 +01:00
Matthias Ringwald
be9b024751 freertos: btstack_run_loop_freertos_execute_code_on_main_thread_from_isr 2021-03-11 16:42:39 +01:00
Matthias Ringwald
eee615e5b1 hci_dump: doc 2021-03-11 16:02:29 +01:00
Matthias Ringwald
31437b5204 hci_dump: enable packet logger in tests 2021-03-11 15:53:46 +01:00
Matthias Ringwald
22dc82503e hci_dump: wiced-h4 port 2021-03-11 15:53:46 +01:00
Matthias Ringwald
09df40bd40 hci_dump: stm32 ports 2021-03-11 15:53:46 +01:00
Matthias Ringwald
25d9a2cd74 hci_dump: samv71-xplained-atwilc3000 port 2021-03-11 15:53:46 +01:00
Matthias Ringwald
057ebb4540 hci_dump: renesas-tb-s1ja-cc256x port 2021-03-11 15:53:46 +01:00
Matthias Ringwald
8636a61217 hci_dump: nrf5x 2021-03-11 15:53:46 +01:00
Matthias Ringwald
34c8f786e4 hci_dump: nrf5-zephyr 2021-03-11 15:53:46 +01:00
Matthias Ringwald
5d255a7a69 hci_dump: msp432 port 2021-03-11 15:53:45 +01:00
Matthias Ringwald
cccba2901c hci_dump: max32630-fthr port 2021-03-11 15:53:45 +01:00
Matthias Ringwald
017c2996ac hci_dump: arduino port 2021-03-11 15:53:45 +01:00
Matthias Ringwald
287aaa024c hci_dump: apollo2 port 2021-03-11 15:53:45 +01:00
Matthias Ringwald
be2a754961 hci_dump: esp32 port 2021-03-11 15:53:45 +01:00
Matthias Ringwald
7435ec7b56 hci_dump: use hci_dump_posix_fs with PacketLogger format in all posix ports 2021-03-11 15:53:45 +01:00