413 Commits

Author SHA1 Message Date
Matthias Ringwald
141191bd8f more gap uuids 2015-11-01 10:00:03 +01:00
Matthias Ringwald
f4937b6ad1 add more GAP characteristic UUIDs 2015-11-01 09:23:43 +01:00
Matthias Ringwald
492b3f72f7 return ATT_ERROR_DATA_MISMATCH if prepare write response differs 2015-10-29 15:38:04 +01:00
Matthias Ringwald
80c3edf700 Use custom ATT error instead of adding HCI error code 2015-10-29 14:28:44 +01:00
Matthias Ringwald
e8c22e31be add support for explicit prepare write, execute write, cancel write requests 2015-10-29 12:00:48 +01:00
Matthias Ringwald
6b724e3cd7 fix crash in slave role when storing CSRK 2015-10-26 23:07:40 +01:00
Matthias Ringwald
5a0c4351ec add checks + log error for device index 2015-10-26 23:05:31 +01:00
Matthias Ringwald
48b1b78d97 add include handle to include service query result event and show in pts test 2015-10-16 11:26:33 +02:00
Matthias Ringwald
195a80287b removed btstack/include folder 2015-10-15 16:33:34 +02:00
Matthias Ringwald
4f8c7aafb7 update ancs_client_lib and embedded examples for new gatt client events 2015-10-15 15:15:54 +02:00
Matthias Ringwald
8e945f2ed4 drop unused code 2015-10-15 13:33:20 +02:00
Matthias Ringwald
cea167a2ec assert HCI_INCOMING_PRE_BUFFER_SIZE >= 2 for Long Characteristic Reads 2015-10-15 12:32:04 +02:00
Matthias Ringwald
b2d8d7e027 drop gatt client event structs 2015-10-15 12:22:03 +02:00
Matthias Ringwald
db5a2f8f96 convert GATT_LONG_CHARACTERISTIC_DESCRIPTOR_QUERY_RESULT 2015-10-15 11:37:17 +02:00
Matthias Ringwald
87258ec740 convert GATT_CHARACTERISTIC_DESCRIPTOR_QUERY_RESULT 2015-10-15 10:38:23 +02:00
Matthias Ringwald
ba626ec371 convert GATT_NOTIFICATION and GATT_INDICATION 2015-10-14 17:06:36 +02:00
Matthias Ringwald
a268c24433 convert GATT_LONG_CHARACTERISTIC_VALUE_QUERY_RESULT 2015-10-14 16:30:58 +02:00
Matthias Ringwald
a7fa6e5c8a convert GATT_CHARACTERISTIC_VALUE_QUERY_RESULT 2015-10-14 16:11:55 +02:00
Matthias Ringwald
b152779703 convert GATT_ALL_CHARACTERISTIC_DESCRIPTORS_QUERY_RESULT 2015-10-14 15:30:38 +02:00
Matthias Ringwald
ad9ea7b731 convert GATT_INCLUDED_SERVICE_QUERY_RESULT 2015-10-13 23:05:09 +02:00
Matthias Ringwald
c88ece81b6 convert GATT_CHARACTERISTIC_QUERY_RESULT 2015-10-13 22:56:12 +02:00
Matthias Ringwald
5a8b9c1f36 convert GATT_SERVICE_QUERY_RESULT 2015-10-13 22:24:13 +02:00
Matthias Ringwald
4fb9f0b228 mark old code with #ifdef OLD 2015-10-13 00:18:08 +02:00
Matthias Ringwald
75e30611be use HCI Event style packet instead of sm_event_t 2015-10-11 23:33:03 +02:00
Matthias Ringwald
494b3cc52e pass in connection handle instead of address / address_type info for SM API 2015-10-11 21:40:03 +02:00
Matthias Ringwald
4d79010d76 add handle to sm_event_t 2015-10-11 21:19:36 +02:00
Matthias Ringwald
09222c1170 allow to fix local csrk for testing 2015-10-10 22:04:39 +02:00
Matthias Ringwald
80c6fa00ac store both local and remote csrk - remote incorrect optimization 2015-10-10 21:36:43 +02:00
Matthias Ringwald
8e96e3b7fd add gatt_client_pts_suppress_mtu_exchange for testing sm 2015-10-10 14:53:02 +02:00
Matthias Ringwald
c7fdde1ffc clear gatt_client_t before use 2015-10-10 14:48:10 +02:00
Matthias Ringwald
c5e516fdd2 add more GAP UUIDs 2015-10-09 23:53:01 +02:00
Matthias Ringwald
7fa238285e move custom ATT_ERROR_TIMEOUT to 0x7f 2015-10-08 16:26:54 +02:00
Matthias Ringwald
12a5e8daf6 acquire peripheral context for GATT Indications if needed 2015-10-08 16:17:53 +02:00
Matthias Ringwald
49322b26bd report gatt notifications without having a peripheral context 2015-10-08 16:05:44 +02:00
Matthias Ringwald
e3eb72c86b bugfix: report last characteristic if characteristic is last handle in query 2015-10-08 15:17:10 +02:00
Matthias Ringwald
39d281a3eb flip BD_ADDR from SM_CODE_IDENTITY_ADDRESS_INFORMATION. only add device to db if neither IRK nor public address are found 2015-10-06 10:02:40 +02:00
Matthias Ringwald
d622771835 add gatt_client_write_long_characteristic_descriptor_using_descriptor_handle_with_offset and gatt_client_write_long_value_of_characteristic_with_offset 2015-10-05 22:30:46 +02:00
Matthias Ringwald
b8f6dc99f1 add gatt write tests - untested 2015-10-05 12:32:57 +02:00
Matthias Ringwald
5a93002a1d add gatt_client_read_multiple_characteristic_values 2015-10-02 14:59:23 +02:00
Matthias Ringwald
3f4e6e214e add gatt_client_read_value_of_characteristics_by_uuid16/128 2015-10-02 12:20:53 +02:00
Matthias Ringwald
5050a2d5f6 add gatt_client_read_long_characteristic_descriptor_using_descriptor_handler_with_offset 2015-10-01 22:16:37 +02:00
Matthias Ringwald
986515be23 add gatt_client_read_long_value_of_characteristic_using_value_handle_with_offset 2015-10-01 22:00:09 +02:00
Matthias Ringwald
62b9b53a36 add gatt_client_read_characteristic_descriptor_using_descriptor_handle and gatt_client_read_long_characteristic_descriptor_using_descriptor_handler 2015-10-01 21:09:23 +02:00
Matthias Ringwald
5838a2ed38 use PRIu32 for printf of 32-bit integers 2015-09-21 18:10:47 +02:00
Matthias Ringwald
69fd3b4b73 fix docu for gatt_client_discover_characteristic_descriptors 2015-09-18 15:14:34 +02:00
Matthias Ringwald
c647ce341a GATT Client: fix included services query with multiple rounds 2015-09-17 22:42:23 +02:00
Matthias Ringwald
264e3be687 rename sm_request_authorization to sm_request_pairing 2015-08-20 22:00:54 +02:00
Matthias Ringwald
87f8c30bce sm: sm_request_authorization triggers security request as slave 2015-08-20 21:50:20 +02:00
Matthias Ringwald
c84488c5b7 sm: fixes stall in responder role when initiator does not send any keys 2015-08-20 21:37:06 +02:00
Matthias Ringwald
5243c6c843 sm: fixes stall in initiator role when responder does not send any keys 2015-08-20 21:20:50 +02:00