7753 Commits

Author SHA1 Message Date
Matthias Ringwald
45f2a74090 gatt_client: requeue gatt client after send for fairness 2018-02-01 11:40:58 +01:00
Matthias Ringwald
544128c36f gatt_client: extract gatt_client_run_for_peripheral, don't abort gatt_client_run if one gatt client is in SENT_MTU_EXCHANGE state, request can_send_now when sending any packet 2018-02-01 11:32:42 +01:00
Matthias Ringwald
c6a0bdd74a more .gitignore 2018-02-01 11:07:11 +01:00
Matthias Ringwald
6973c35a87 em9304: configure for 8 connections with data length 251 2018-01-31 16:44:01 +01:00
Matthias Ringwald
4e5e1eb09e att_db_util: return attribute handle for new servics, improve header documentation 2018-01-31 16:13:17 +01:00
Matthias Ringwald
838e632c8e gatt_client: drop gatt_client_pts_suppress_mtu_exchange function, replaced by gatt_client_mtu_enable_auto_negotiation(0) 2018-01-30 19:12:48 +01:00
Jakob Krantz
5cf6c43447 gatt_client: Adds configuration for when or if a MTU negotiation should be made.
- Disable automatic MTU negotiation for gatt_client. Add method to manually
  send a MTU negotiation
2018-01-30 19:12:48 +01:00
Jakob Krantz
b12646c53b att_dispatch: Propogate MTU update to both att_server and gatt_client.
According to the BT 5.0 spec. A MTU negotiation shall only be required in one
direction. I.e. We must propogate the negotiated MTU between gatt_client
and att_server.
2018-01-30 19:12:33 +01:00
Matthias Ringwald
25818320b7 l2cap: allow to set the max LE MTU 2018-01-30 19:01:33 +01:00
Jakob Krantz
8f37572a30 Adds missing emit of GATT_EVENT_MTU when the MTU has changed. 2018-01-30 18:52:21 +01:00
Matthias Ringwald
9c77c9db73 hci: fix handling of le connection complete with ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER as result of hci le create connection cancel command 2018-01-30 18:49:31 +01:00
Matthias Ringwald
993da9623b test/att_db: fix compile 2018-01-30 17:35:29 +01:00
Matthias Ringwald
46eb6b51b8 att_db_util.c: fix include path 2018-01-30 17:33:30 +01:00
Matthias Ringwald
9f28d85d18 att_db_util: add functions to create descriptors. document how to calculate cccd attribute handle 2018-01-30 17:29:10 +01:00
Jakob Krantz
b489552907 Fixes bug where the descriptor UUID16 was not set even thought it had one.
When deserializeing a characteristic_descriptor the UUID16 wouldn't be set even
thought it had an 16 bit UUID. This adds check to see if the descriptor has a
UUID16, if so, we read the UUID16 and set it to the gatt_client_characteristic_descriptor_t.
2018-01-30 17:02:31 +01:00
Jakob Krantz
cbe54ab248 Adds option to set the connection_scan_interval and connection_scan_window. 2018-01-30 16:59:28 +01:00
Jakob Krantz
c4c88f1bc9 Adds functionality for setting the master-slave role policy. Fixes bug when handling HCI_EVENT_ROLE_CHANGE. 2018-01-30 16:54:57 +01:00
Jakob Krantz
658d4117be Fixes bug where the att_db would not be updated if realloc returnes a new chunk of memory. 2018-01-30 16:52:11 +01:00
Matthias Ringwald
bb44f0f585 esp32: fix integrate_btstack.py 2018-01-30 11:57:15 +01:00
Matthias Ringwald
87050a0b56 l2cap: add missing l2cap_emit_le_channel_closed 2018-01-30 11:30:12 +01:00
Matthias Ringwald
07b68b69ff posix-h4: use fast uart for EM chipsets 2018-01-30 10:59:17 +01:00
Matthias Ringwald
dc673ce371 example/le_streamer_client: support full duplex using notifications and write without response 2018-01-29 15:04:18 +01:00
Matthias Ringwald
8f03f23d90 example/le_streamer: use single characteristic for write without reponse and notify, track data received by writes 2018-01-29 15:04:18 +01:00
Matthias Ringwald
e3ee42a534 avrcp: fix compile warning 2018-01-29 15:04:18 +01:00
Matthias Ringwald
d02bdcc6bb esp32: allow to create customized example folders with individual sdkconfig file (2) 2018-01-29 15:04:18 +01:00
Matthias Ringwald
737cbeaae6 esp32: allow to create customized example folders with individual sdkconfig file. skip ant_test 2018-01-29 15:04:18 +01:00
Matthias Ringwald
2cf36df7f5 l2cap: emit le open/close events for le data channels on disconnect 2018-01-26 14:19:39 +01:00
Matthias Ringwald
ff01079be9 add le_data_channel examples to most ports 2018-01-19 16:32:28 +01:00
Matthias Ringwald
e69f253036 le_data_channel_client: fix compile 2018-01-19 16:15:29 +01:00
Matthias Ringwald
483d346123 le_data_channel_server: add GAP Service with name 2018-01-19 16:15:29 +01:00
Matthias Ringwald
17f4e5f98f le_data_channel_client: send by default 2018-01-19 16:15:29 +01:00
Matthias Ringwald
534c860dc0 esp32: enable le data channels, disable packet logger 2018-01-19 16:15:29 +01:00
Matthias Ringwald
2b3e76a20b esp32: enable le data channels, disable packet logger 2018-01-19 16:15:29 +01:00
Matthias Ringwald
b8b2707a51 libusb: only commpile le data channel examples 2018-01-19 16:15:29 +01:00
Matthias Ringwald
e8afb645ae le_data_channel_server: log connection parameter request response and updates 2018-01-19 16:15:28 +01:00
Matthias Ringwald
ed69724ce0 le_data_channel_server: fix build 2018-01-19 16:15:28 +01:00
Matthias Ringwald
fc243dc843 le_data_channel_server: request 15 ms connection interval 2018-01-19 16:15:28 +01:00
Matthias Ringwald
5b6326f143 le_data_channel_server: add dummy ATT Server 2018-01-19 16:15:28 +01:00
Matthias Ringwald
cf9641eb81 libusb: fix makefile 2018-01-19 16:15:28 +01:00
Matthias Ringwald
7eb8556897 example/le_data_channel: allow to configure packet size 2018-01-19 16:15:28 +01:00
Matthias Ringwald
13171b9312 example/le_data_channel: allow to send from both sides 2018-01-19 16:15:28 +01:00
Matthias Ringwald
1add4db554 example: add le_data_channel_client and le_data_channel_server demos 2018-01-19 16:15:28 +01:00
Matthias Ringwald
b5803aaff8 l2cap: use l2cap_max_mtu as MPS for le data channels 2018-01-19 16:15:12 +01:00
Matthias Ringwald
9c6e867ea6 sm: moved sm_encryption_key_size, sm_authenticated, sm_authorization_state into gap.h 2018-01-19 16:08:14 +01:00
Matthias Ringwald
895ff4a54f l2cap: use log_debug for le data channel feedback 2018-01-17 22:43:26 +01:00
Milanka Ringwald
6276d22a9a sbc: fix unused parameter compile error 2018-01-17 16:53:41 +01:00
Milanka Ringwald
d6ec9a32b8 sbc test: add new param to decoder test to introduce partial frame corruption 2018-01-17 16:39:48 +01:00
Milanka Ringwald
04ec07bf78 msbc: reset decoder on invalid params status 2018-01-17 16:39:48 +01:00
Milanka Ringwald
a305eb5351 sbc: handle more errors, assert liveliness 2018-01-17 16:39:48 +01:00
Milanka Ringwald
813397ea25 sbc: remove bad frame num 2018-01-17 16:39:48 +01:00