3424 Commits

Author SHA1 Message Date
Matthias Ringwald
959f646afa l2cap: fix compile 2017-09-18 21:00:25 +02:00
Matthias Ringwald
fe7ca8b009 l2cap: fix compile 2017-09-18 17:58:53 +02:00
Matthias Ringwald
5774a3925b l2cap: remove unused arguments, annotate all UNUSED 2017-09-18 14:34:31 +02:00
Matthias Ringwald
adcfabadef l2cap: validate LE signaling command length 2017-09-18 14:07:01 +02:00
Matthias Ringwald
bb98c113be l2cap: check SDU len against provided buffer, prevent buffer overrun during reassembly 2017-09-18 13:52:45 +02:00
Matthias Ringwald
e9cfb251d0 l2cap: verify signaling len for CONNECTION_RESPONSE, CONFIGURE_REQUEST, CONFIGURE_RESPONSE 2017-09-18 12:20:26 +02:00
Matthias Ringwald
0493bf3a19 l2cap: verify signaling command len for CONNECTION_REQUEST, INFORMATION_REQUEST, and INFORMATION_RESPONSE 2017-09-18 11:48:12 +02:00
Matthias Ringwald
ed2ed8e12c l2cap: assert classic signaling command has valid data len 2017-09-18 11:32:36 +02:00
Matthias Ringwald
bb0a72a6e3 l2cap: split l2cap_acl_handler into seperate LE and Classic handlers. Classic: Signaling, Connection-less, Classic channels. LE: LE Signaling, ATT, SM, LE Data Channels 2017-09-17 22:08:29 +02:00
Matthias Ringwald
9091c5f574 nrf5-zephyr: drop remaining patches to zephyr sources. Set Static Random Address directly in main(). Drop previous hack in sm.c 2017-09-14 17:37:51 +02:00
Matthias Ringwald
6c39055a9f sm: enable check if LTK Request for LE Legacy Pairing comes from Central in LE Device DB, deny if not 2017-09-13 11:44:02 +02:00
Matthias Ringwald
caf15bf3c4 sm: allow to set a fixed passkey for LE Legacy Pairing when in display role 2017-09-12 16:27:10 +02:00
Matthias Ringwald
8ba9588f7f btstack_event: support 'D' 8-byte data block 2017-08-31 13:55:58 +02:00
Milanka Ringwald
831d3fd526 avrcp target: crude pass through implemetation 2017-08-30 17:22:15 +02:00
Milanka Ringwald
133becec45 a2dp: send STOP event on stream stopped or aborted 2017-08-30 11:48:59 +02:00
Milanka Ringwald
a466d50862 ad2p: fix disconnect 2017-08-30 11:05:20 +02:00
Milanka Ringwald
88132161fe a2dp source: cleanup api, add minimal docu, update example 2017-08-29 15:22:27 +02:00
Milanka Ringwald
fd58c90006 a2dp sink: cleanup api, add minimal docu, update tests and examples 2017-08-29 15:22:27 +02:00
Matthias Ringwald
9e91d19244 sm: log error if LE Secure Connections enabled without micro-ecc, but HCI Controller doesn't support it 2017-08-28 21:36:11 +02:00
Matthias Ringwald
d1ba1a5769 sm: fix compile 2017-08-28 21:24:51 +02:00
Matthias Ringwald
fcae305fb2 sm: ENABLE_MICRO_ECC_FOR_LE_SECURE_CONNECTIONS enables micro-ecc software implementation 2017-08-28 21:10:17 +02:00
Matthias Ringwald
43836aa6b3 sm: abort if dhkey generation fails, fix result of dhkey key generated event 2017-08-28 18:05:37 +02:00
Matthias Ringwald
3cf37b8c05 sm: use HCI commands to generate public key and calculate dhkey 2017-08-28 17:00:42 +02:00
Matthias Ringwald
2109ad748e sm: fix compile 2017-08-28 15:38:20 +02:00
Matthias Ringwald
80d7d61834 hci: fix sending of le set event mask 2017-08-28 15:35:30 +02:00
Matthias Ringwald
a004d67489 hci: don't enable all new LE Events 2017-08-28 14:30:31 +02:00
Matthias Ringwald
3fc45ec760 sm: calculate DHKey earlier in sm_sc_prepare_dhkey_check 2017-08-28 12:24:04 +02:00
Matthias Ringwald
daabb8b879 hci: send le set event mask during init 2017-08-27 22:10:14 +02:00
Matthias Ringwald
b4f656345b sm: fix compile warning 2017-08-26 21:23:58 +02:00
Matthias Ringwald
2dd6d27267 sm: only store derived link key once, fixes compile warning 2017-08-26 21:23:58 +02:00
Milanka Ringwald
326e5ced38 a2dp sink: reset state on connetion failure 2017-08-25 17:47:32 +02:00
Milanka Ringwald
ff8fd80fee a2dp: fix event's meta type 2017-08-25 16:50:34 +02:00
Milanka Ringwald
e8c2501fa4 avdtp initiator: check if stream endpoint exists 2017-08-25 16:50:34 +02:00
Milanka Ringwald
a0b8a58cf8 avdtp: on connect request, check if streaming is already established 2017-08-25 16:50:34 +02:00
Milanka Ringwald
04cd6488fb a2dp: handle signaling chanel release, fix event's meta type 2017-08-25 16:50:34 +02:00
Milanka Ringwald
46c4885331 a2dp: add new event for signaling connection release 2017-08-25 16:50:34 +02:00
Milanka Ringwald
55ddebcc9f a2dp source: reset state on channel opened failed 2017-08-25 14:21:18 +02:00
Milanka Ringwald
dfce2622b0 l2cap: abort outgoing connection if SSP supported, LEVEL0 is not enough and security update fails 2017-08-25 14:21:18 +02:00
Matthias Ringwald
831711da1f hci: fix gap_set_connection_parameter_range and gap_set_connection_parameters (don't reset values on HCI Reset) 2017-08-23 17:08:09 +02:00
Milanka Ringwald
c04cf7ff6a hfp ag: renamed done in sent 2017-08-23 11:19:27 +02:00
Milanka Ringwald
2ee45eb289 hfp ag: fix reset of codec exchange command 2017-08-23 11:19:27 +02:00
Milanka Ringwald
485ac19e5f hfp ag: add send to the name of cmds 2017-08-23 11:19:27 +02:00
Matthias Ringwald
e9f343c878 hci: fix compile for LE Peripheral without Classic 2017-08-22 17:15:56 +02:00
Matthias Ringwald
398ab102a4 ancs_client: only send ANCS_SUBEVENT_CLIENT_DISCONNECTED if correct handle disconnected and connected event was sent before 2017-08-22 12:28:02 +02:00
Milanka Ringwald
6dbf1f9ab2 handle SDP query error 2017-08-22 11:12:08 +02:00
Matthias Ringwald
0c130b191f sm: set local address in le_device_db on initial read bd addr 2017-08-21 15:10:48 +02:00
Milanka Ringwald
1993710357 hsp hs: emit error on SDP query failed 2017-08-18 17:12:56 +02:00
Milanka Ringwald
84904e95bc hfp: emit error on SDP query failed 2017-08-18 17:12:56 +02:00
Matthias Ringwald
4cd5c7b426 sm: use public adress for resolvable and non-resolvable random addresses in SM Identity Address Information 2017-08-17 21:37:03 +02:00
Matthias Ringwald
c439e29667 hci: correct len of hci_write_extended_inquiry_response during init 2017-08-17 14:43:15 +02:00