92 Commits

Author SHA1 Message Date
Matthias Ringwald
7f3f442d49 sm: avoid SM_EVENT_PAIRING_COMPLETE with ERROR_CODE_REMOTE_USER_TERMINATED_CONNECTION after successful pairing in responder role 2019-02-19 11:48:18 +01:00
Matthias Ringwald
740eb56e0b changelog: update 2019-02-08 15:42:13 +01:00
Matthias Ringwald
0c23bea1f5 crypto: fix lockup when stack is shutdown while waiting for result of HCI Command, e.g. LE Read Local P256 Public Key 2019-02-05 17:23:51 +01:00
Matthias Ringwald
5db50aaad5 btstack_crypto: directly process queued crypto operation on HCI result 2019-01-29 11:20:15 +01:00
Matthias Ringwald
d14da541e3 posix: use correct baudrate enums for baud rates higher than 921600 (linux) 2019-01-19 21:58:56 +01:00
Matthias Ringwald
81d2bdb29c hci: release outgoing buffer on disconnect if waiting to send another ACL fragment 2019-01-17 19:21:00 +01:00
Matthias Ringwald
88949f8443 ad_parser: validate data element length fields in ad_iterator_has_more 2019-01-17 16:14:50 +01:00
Matthias Ringwald
33e6948b12 hci: validate advertisement data length field when generating GAP_EVENT_ADVERTISING_REPORT 2019-01-17 15:43:36 +01:00
Matthias Ringwald
a7a98a1451 rfcommm: support L2CAP ERTM. Callbacks passed to rfcomm_enable_l2cap_ertm() are used to manage ERTM buffers 2019-01-08 15:15:30 +01:00
Matthias Ringwald
c425ea4ad2 l2cap: add fcs_option to ERTM config l2cap_ertm_config_t 2019-01-08 09:18:09 +01:00
Matthias Ringwald
66a726407a l2cap: emit L2CAP_EVENT_ERTM_BUFFER_RELEASED if ERTM buffer not needed/used anymore 2019-01-07 21:47:59 +01:00
Matthias Ringwald
7f1690cf27 l2cap: provide channel mode (basic/ertm) and fcs option in L2CAP_EVENT_CHANNEL_OPENED 2019-01-07 20:55:28 +01:00
Matthias Ringwald
5fa31a9940 hci_dump: support PacketLogger or BlueZ format output via SEGGER RTT Channel 1 Up 2018-12-21 15:29:56 +01:00
Milanka Ringwald
472a1e5f81 changelog: update 2018-12-07 14:29:38 +01:00
Matthias Ringwald
899e6e028a sm: generate and store ER / IR keys in TLV, unless manually set by application 2018-12-04 10:20:20 +01:00
Matthias Ringwald
c949105a7b changelog: update 2018-11-27 15:51:34 +01:00
Matthias Ringwald
aacfafc3ac sm: ignore Slave Security Request after sending own Pairing Request 2018-11-26 20:19:47 +01:00
Matthias Ringwald
a2673d8810 btstack_memory: initialize all buffers on btstack_memory_TYPE_get() 2018-11-23 17:40:42 +01:00
Matthias Ringwald
64cb054c86 l2cap: fix use after free with ERTM (close issue #181) 2018-11-22 21:55:08 +01:00
Matthias Ringwald
ba15640864 changelog: update 2018-11-20 21:17:12 +01:00
Milanka Ringwald
04e44aa625 changelog: ublox spp-like gatt profile 2018-11-06 15:14:44 +01:00
Milanka Ringwald
b8d0d01487 Changelog: update 2018-10-31 10:11:37 +01:00
Matthias Ringwald
f8ee30711d hci/gap: support snif mode 2018-10-22 14:05:59 +02:00
Matthias Ringwald
a8409e807e l2cap ertm: fix outgoing fragment management 2018-10-12 22:06:01 +02:00
Matthias Ringwald
2c12328286 hci: fix bug in gap_inquiry_stop that triggered additional GAP_EVENT_INQUIRY_COMPLETE instead of stopping the inquiry 2018-10-10 17:32:35 +02:00
Matthias Ringwald
36680482ae avrcp: use sdp_query_context only for sdp query, not for finalize connection 2018-10-09 09:45:47 +02:00
Matthias Ringwald
b402b8bd77 review CHANGELOG 2018-10-08 11:45:48 +02:00
Matthias Ringwald
3b81f0d3ad l2cap ertm: fix memory corruption triggered if local_mtu > mps 2018-10-04 14:15:17 +02:00
Matthias Ringwald
826c39d019 l2cap ertm: allow SDU of szie MPS in first packet that contains L2CAP SDU Length 2018-10-03 17:21:11 +02:00
Matthias Ringwald
5dcb6ca761 Revert "l2cap ertm: allow SDU of szie MPS in first packet that contains L2CAP SDU Length"
This reverts commit f6fb536452573216b8c12692b87b78ef0221df9e.
2018-10-03 17:19:22 +02:00
Matthias Ringwald
f6fb536452 l2cap ertm: allow SDU of szie MPS in first packet that contains L2CAP SDU Length 2018-10-03 17:16:00 +02:00
Matthias Ringwald
2b6d34f42e sdp_server: queue incoming connections when already connected instead of rejecting them 2018-10-03 12:53:29 +02:00
Matthias Ringwald
4960f9e71e hfp: decline incoming rfcomm connection after outgoing connection was started 2018-10-02 16:36:40 +02:00
Matthias Ringwald
ef07b2dc0f l2cap: fix issue with outgoing connection before read remote supported complete when other channels exist 2018-10-02 16:17:13 +02:00
Matthias Ringwald
93d791b29f l2cap: check can send now before sending extended information request needed for ERTM mode 2018-09-25 15:45:35 +02:00
Matthias Ringwald
cfd2437ec6 a2dp_source: suppport stream reconfiguration (a2dp_source_reconfigure_stream_sampling_frequency) 2018-09-17 12:06:51 +02:00
Matthias Ringwald
fe8aebe6c4 l2cap: use valid signaling identifier for L2CAP Connection Parameter Update Request 2018-09-12 16:21:14 +02:00
Matthias Ringwald
cce308d626 gatt_client: stop timer on disconnect - fixes use after free / crash 2018-09-11 08:32:03 +02:00
Matthias Ringwald
eea99214d9 l2cap: evaluate 'can send now' on HCI Disconnect as ACL buffers in Bluetooth Controller have been used for the closed connection are freed implicitly 2018-09-11 08:27:33 +02:00
Matthias Ringwald
22a3debe3f update changelog 2018-09-06 17:45:02 +02:00
Matthias Ringwald
ece97caeac l2cap: track address of outgoing classic connections and treat error as connection failure 2018-09-03 19:20:27 +02:00
Matthias Ringwald
f299206d43 l2cap: fix emitted L2CAP_EVENT_CONNECTION_PARAMETER_UPDATE_REQUEST 2018-08-23 12:08:14 +02:00
Matthias Ringwald
f55bd52945 sm: drop LTK flag from Pairing Response for Secure Connections 2018-08-21 17:59:19 +02:00
Matthias Ringwald
44263cccde sm: fix pairing for Secure Connections with Bonding if remote sends additional keys 2018-08-21 17:26:47 +02:00
Matthias Ringwald
3a7447a300 pbap: add pbap_get_phonebook_size to get phonebook entry count 2018-08-20 20:35:56 +02:00
Matthias Ringwald
9be4aecf32 compile_gatt: Allow enable Notifications/Indication with Write Command. Fixes issue with some Android devices 2018-08-05 22:49:29 +02:00
Matthias Ringwald
6e4c47b0cf raspi: use H4 for Raspberry Pi Zero W with Hardware UART / Flow Control 2018-07-29 22:40:30 +02:00
Matthias Ringwald
6d6471dc9e Documentation for Raspberry Pi 3 port in port/raspi 2018-07-29 13:45:30 +02:00
Matthias Ringwald
d2ac43106a changelog: mention errata-10734 2018-07-24 14:51:47 +02:00
Matthias Ringwald
fc6cde64da Replaced HCI_PACKET_BUFFER_SIZE with HCI_INCOMING_PACKET_BUFFER_SIZE and HCI_OUTGOING_PACKET_BUFFER_SIZE 2018-07-23 14:14:14 +02:00