3555 Commits

Author SHA1 Message Date
Milanka Ringwald
d1207cd896 avrcp target: notifications and fragmentation 2017-10-06 17:04:42 +02:00
Matthias Ringwald
63dd1c760e prefix crc8_* to btstack_crc8_* 2017-10-03 16:49:03 +02:00
Matthias Ringwald
1f41c2c9f7 move crc8 from rfcomm.h to btstack_util.h 2017-10-03 16:47:24 +02:00
Matthias Ringwald
1fcd10b705 l2cap: fix regression in LE Signaling Len check for Connection Update Request/Response in adcfabadef2147ecee52ccbc9ab695b6df44e568 2017-10-02 11:50:32 +02:00
Matthias Ringwald
8a46ec4062 hfp: review UNUSED 2017-09-27 11:33:34 +02:00
Matthias Ringwald
f08eeab9ea hsp: review UNUSED 2017-09-27 11:14:55 +02:00
Matthias Ringwald
35b80bb0da hids_device.c: fix compile 2017-09-26 15:53:54 +02:00
Matthias Ringwald
63854e74af l2cap: fix -Wvarargs warnings from clang 9.0 2017-09-25 21:50:25 +02:00
Matthias Ringwald
034d8e7065 sm: fix mbedTLS integration 2017-09-25 17:31:42 +02:00
Matthias Ringwald
523edd21cb hids_device: log common operations (protocol mode, report map, report ccc) 2017-09-25 16:05:42 +02:00
Matthias Ringwald
a4bfc4fed9 hog: hid-over-gatt - add hids_device gatt service and hog_keyboard_demo example 2017-09-25 11:41:28 +02:00
Matthias Ringwald
bfd413f038 att_db: add att_read_callback helpers for 1,2,4 byte unsigned little endian and blob data 2017-09-23 10:20:52 +02:00
Matthias Ringwald
eb6072adf6 compile_gatt+att_db+att_db_util: make Client Characteristic Configuration readable without authentication but require permissions for write 2017-09-22 14:20:26 +02:00
Matthias Ringwald
3721458b9d device_information_service: fix device_information_service_server_set_pnp_id 2017-09-21 14:17:44 +02:00
Matthias Ringwald
51fa0b282f sm: allow to use mbedTLS for ECDH by HAVE_MBEDTLS_ECC_P256 2017-09-20 16:00:23 +02:00
Matthias Ringwald
dbbeec25e8 sdp_client: fix compile 2017-09-20 10:53:35 +02:00
Matthias Ringwald
7dad9ff837 ancs_client, att_server, pbab_client: review UNUSED-size 2017-09-20 10:47:28 +02:00
Matthias Ringwald
1ac26e06cb bnep: review UNUSED-size 2017-09-20 10:43:22 +02:00
Matthias Ringwald
f21eb74fee bnep: review UNUSED-size 2017-09-20 10:40:32 +02:00
Matthias Ringwald
5fce605819 sdp_cient: validate pdu size before processing 2017-09-20 10:37:12 +02:00
Matthias Ringwald
23cb683a15 sdp_client: pass pdu size to sdp response handlers 2017-09-20 10:07:08 +02:00
Matthias Ringwald
7a26a620f9 sdp_client: streamline sdp pdu handling 2017-09-20 10:04:33 +02:00
Matthias Ringwald
4c1d10929e sm: validate sm pdu size before processing 2017-09-20 09:53:24 +02:00
Matthias Ringwald
4bd791116b btstack_util: review UNUSED-size 2017-09-19 17:22:32 +02:00
Matthias Ringwald
4443af4915 sdp_server: fully validate incoming requests 2017-09-19 17:17:42 +02:00
Matthias Ringwald
3558d8841d sdp_util: add de_get_len_safe, use uint32_t for length functions 2017-09-19 17:11:13 +02:00
Matthias Ringwald
cbdfe9f7d6 sm: review UNUSED-size 2017-09-19 16:04:19 +02:00
Matthias Ringwald
4599b98a66 sdp_util: review UNUSED-size 2017-09-19 16:01:33 +02:00
Matthias Ringwald
54383f0544 rfcomm: review UNUSED-size 2017-09-19 15:57:50 +02:00
Matthias Ringwald
384b59de91 hci: check adv_data len when processing advertisement report. review UNUSED-size 2017-09-19 15:46:18 +02:00
Matthias Ringwald
9b31df6351 att_db: validate prepared writes before execution. Additional att_write_callback with ATT_TRANSACTION_MODE_VALIDATE 2017-09-19 11:33:38 +02:00
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