5818 Commits

Author SHA1 Message Date
Matthias Ringwald
9c2de2bcd6 btstack_defines: add format for HCI_EVENT_IO_CAPABILITY_REQUEST and HCI_EVENT_IO_CAPABILITY_RESPONSE 2021-02-08 18:14:03 +01:00
Matthias Ringwald
11b03efaa1 hci: introduce SEND_IO_CAPABILITIES_NEGATIVE_REPLY 2021-02-08 17:43:11 +01:00
Matthias Ringwald
cf01e8888d gap: read local OOB data on start and on call to gap_ssp_generate_oob_data 2021-02-08 17:19:05 +01:00
Matthias Ringwald
75a8e4fae1 gap: emit GAP_EVENT_LOCAL_OOB_DATA 2021-02-08 17:19:05 +01:00
Matthias Ringwald
1849becd40 gap: support classic OOB pairing
new gap_ssp_remote_oob_data allows to report receive OOB data
set OOB data flag in IO Capabilities reply
respond to remote oob data request
2021-02-08 17:19:05 +01:00
Matthias Ringwald
f21849cb27 hci: check if Remote OOB Extended Data Request Reply and Read Local OOB Extended Data command are supported 2021-02-08 14:25:48 +01:00
Matthias Ringwald
bf67b2dbb0 avrcp: request can send now again for controller if both want to send 2021-02-08 11:36:17 +01:00
Matthias Ringwald
2d2d4d3cb1 sm: ignore sm_trigger_run if sm is not initialized 2021-02-08 09:55:43 +01:00
Matthias Ringwald
0ad702f3bc btstack_run_loop: assert callbacks for timer and data source are set 2021-02-08 09:33:59 +01:00
Matthias Ringwald
8691a66c78 a2dp, avdtp: use a2dp_source_set_config_{TYPE} and avdtp_config{TYPE}_store to avoid large number of parameters 2021-02-04 19:13:57 +01:00
Matthias Ringwald
bb75dd7da2 hci_cmd: add hci_remote_oob_extended_data_request_reply
use 'K' format specifier for 16-byte data in big-endian format, e.g. OOB data or link keys
2021-02-04 15:48:43 +01:00
Matthias Ringwald
d7f7a5c374 l2cap: make handling of hci disconnect more robust 2021-02-03 17:34:55 +01:00
Matthias Ringwald
535ff08864 avdtp: emit stream release for active stream if signaling is closed first, e.g. caused by hci disconnect 2021-02-03 17:34:12 +01:00
Matthias Ringwald
39a4565173 avdtp: extract avdtp_handle_close_[media|recovery|reporting]channel 2021-02-03 15:55:55 +01:00
Matthias Ringwald
798bd46f26 btstack_memory: fix de-init 2021-02-03 14:31:14 +01:00
Matthias Ringwald
19ef97d232 btstack_memory: fix memory tracking, assert all buffers are freed in deinit 2021-02-03 10:09:14 +01:00
Matthias Ringwald
f9e215c7dc add missing default cases 2021-02-02 15:13:32 +01:00
Matthias Ringwald
298c2fec55 l2cap: split l2cap_hci_event_handler 2021-02-01 19:11:19 +01:00
Matthias Ringwald
002782727d hci: add return for hci_power_control_state_halting 2021-02-01 19:05:48 +01:00
Matthias Ringwald
1dbbb889f1 l2cap: push state check into l2cap_handle_disconnect_request 2021-02-01 18:44:36 +01:00
Matthias Ringwald
42bd3d7789 hci: split hci_power_control 2021-02-01 18:44:12 +01:00
Matthias Ringwald
403280b95d sm: extract sm_run_send_keypress_notification, sm_run_distribute_keys 2021-02-01 17:50:50 +01:00
Matthias Ringwald
0928eccef7 avdtp_util: extract avdtp_signaling_emit_media_codec_capability 2021-02-01 17:36:41 +01:00
Matthias Ringwald
1979f09cf0 use bool instead of int vars 2021-02-01 15:51:30 +01:00
Matthias Ringwald
9305033e02 MISRAC2012-Rule-14.4_c: compare against 0 or NULL 2021-02-01 15:15:55 +01:00
Matthias Ringwald
8616781357 test/linked_list: add tests 2021-01-29 11:14:54 +01:00
Matthias Ringwald
141177f8b5 btstack_run_loop: use assert for not implemented functions 2021-01-28 15:49:53 +01:00
Matthias Ringwald
28728a93ef btstack_memory: fix memory tracking for malloc config 2021-01-28 15:18:34 +01:00
Matthias Ringwald
2ad967e10c btstack_event: fix AVDTP_SUBEVENT_SIGNALING_MEDIA_CODEC_MPEG_AAC_CONFIGURATION 2021-01-28 15:09:54 +01:00
Matthias Ringwald
0d5e852dfe avdtp: update stream_endpoint->sep.configuration.media_codec on as initiator 2021-01-27 15:55:37 +01:00
Matthias Ringwald
9bc5a72f58 btstack_crypto: clear wait for hci result flag, fixes power off if rand was used last 2021-01-25 22:41:17 +01:00
Matthias Ringwald
5e91d96c45 gap: provide Link Type parameter to incoming connection filter for gap_register_classic_connection_filter 2021-01-25 15:12:13 +01:00
Matthias Ringwald
5bfc74a2d8 a2dp_source: fix warning 2021-01-24 23:11:52 +01:00
Matthias Ringwald
f496d06e14 hci: keep le connecting request on create connection cancel complete,
fixes logic for gap_auto_connection_stop + gap_auto_connection_start() sequence
2021-01-22 19:09:57 +01:00
Matthias Ringwald
cf789a7843 avdtp/a2dp: fix bitrate type in aac configuration events 2021-01-21 16:48:43 +01:00
Matthias Ringwald
e43d1938b9 hfp: added event to sniff strings sent over rfcomm 2021-01-21 11:30:29 +01:00
Matthias Ringwald
26fbdc19f5 avdtp_initiator: avoid access to variable set by higher layer 2021-01-21 10:51:47 +01:00
Matthias Ringwald
fd027dabec avrcp_browsing_target: fix warning 2021-01-20 19:16:59 +01:00
Matthias Ringwald
a3868652b0 avdtp_util: use avdtp_channel_mode_t in sbc configured event, set layer in mpeg audio 2021-01-20 18:42:44 +01:00
Matthias Ringwald
fdd788fee8 avdtp: move helper to set/get configuration into avdtp_util 2021-01-20 17:26:07 +01:00
Matthias Ringwald
b5bbcbf411 fix build 2021-01-19 10:51:31 +01:00
Matthias Ringwald
2a95308bb2 btstack_memory: avoid pointer arithmetic for buffer tracking with HAVE_MALLOC 2021-01-19 10:46:28 +01:00
Matthias Ringwald
0396d6ccc8 sdp: support de-init 2021-01-18 21:54:36 +01:00
Matthias Ringwald
1ac69172e4 rfcomm: support de-inint 2021-01-18 21:54:36 +01:00
Matthias Ringwald
1d0ae3ba66 pbap_client: support de-init 2021-01-18 21:54:36 +01:00
Matthias Ringwald
637244f187 hsp: support de-init 2021-01-18 21:54:36 +01:00
Matthias Ringwald
2cc1b993b3 hid_device: support de-init 2021-01-18 21:54:36 +01:00
Matthias Ringwald
20b2edb6e6 hfp: support de-init 2021-01-18 21:54:36 +01:00
Matthias Ringwald
d76b111942 goep_client: support de-init 2021-01-18 21:54:36 +01:00
Matthias Ringwald
51e0db05f3 bnep: support de-init 2021-01-18 21:54:36 +01:00