7772 Commits

Author SHA1 Message Date
Matthias Ringwald
c5541f687d tc3566x: add to posix-h4 and windows-h4 ports 2018-02-05 10:00:01 +01:00
Matthias Ringwald
624bb9dc38 nrf5-zephyr: recommend Zephyr 1.9-branch for use with BTstack 2018-02-05 09:52:18 +01:00
Matthias Ringwald
59ac44af82 chipsets: specify BLE firmware size of ATWILC3000, update TC35661 info after testing -007 variant 2018-02-05 09:47:50 +01:00
Matthias Ringwald
004902f13e hci: reset num cmd packets after sending baud rate command and receiving vendor event on Toshiba chipsets 2018-02-03 23:15:52 +01:00
Matthias Ringwald
0614d6792d example/sm_pairing_central: print SM_EVENT_PAIRING_COMPLETE 2018-02-01 17:37:32 +01:00
Matthias Ringwald
eee18978d4 example/sm_pairing_central: print SM_EVENT_PAIRING_COMPLETE 2018-02-01 17:37:32 +01:00
Matthias Ringwald
accbde8064 sm: emit SM_EVENT_PAIRING_COMPLETE 2018-02-01 17:37:32 +01:00
Matthias Ringwald
36c1abd2e3 btstack_event: add SM_EVENT_PAIRING_COMPLETE 2018-02-01 17:37:29 +01:00
Matthias Ringwald
589f5a99a3 sm: sm_notify_client_authorization -> sm_notify_client_status for use with SM_EVENT_PAIRING_COMPLETE 2018-02-01 16:07:24 +01:00
Matthias Ringwald
16a1a3e5b4 bluetooth.h: fix typo in SM_REASON_PASSKEY_ENTRY_FAILED 2018-02-01 16:07:24 +01:00
Matthias Ringwald
6420f61ec7 sm: remove dead code 2018-02-01 16:06:43 +01:00
Matthias Ringwald
7f711b41e5 btstack_event: remove whitespace for struct return values 2018-02-01 15:45:20 +01:00
Matthias Ringwald
7fa79385c8 example/le_streamer_client: use gatt_client_request_can_write_without_response_event 2018-02-01 15:17:49 +01:00
Matthias Ringwald
47181045ae gatt_client: add gatt_client_request_can_write_without_response_event() 2018-02-01 15:17:03 +01:00
Matthias Ringwald
71af96a130 btstack_event: add GATT_EVENT_CAN_WRITE_WITHOUT_RESPONSE 2018-02-01 13:50:36 +01:00
Matthias Ringwald
047a7fd38a att_dispatch: request another can send now event if needed 2018-02-01 12:28:31 +01:00
Matthias Ringwald
7a705a928c att_dispatch: round robin for client & server 2018-02-01 12:19:12 +01:00
Matthias Ringwald
53e41ec1de att_dispatch: store client and server in array, simplify packet handler 2018-02-01 12:08:41 +01:00
Matthias Ringwald
25684bfca7 att_dispatch: fix packet type for ATT_EVENT_MTU_EXCHANGE_COMPLETE, extract emit_mtu_exchange_complete 2018-02-01 11:55:50 +01:00
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