87 Commits

Author SHA1 Message Date
Matthias Ringwald
635c66dc04 fix gcc-only -Wmaybe-uninitialized warning 2015-11-07 08:23:07 +01:00
Matthias Ringwald
05ae8de376 fix -Wshadow warnings for libusb target 2015-11-06 20:53:12 +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
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
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
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
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
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
c647ce341a GATT Client: fix included services query with multiple rounds 2015-09-17 22:42:23 +02:00
Matthias Ringwald
5d1c139e0e gatt_client: allow writes with maximal MTU 2015-08-20 16:42:46 +02:00
Matthias Ringwald
03679531e4 sm: flip message data before calculating CMAC, also store hash result as little endian 2015-08-19 22:39:19 +02:00
Milanka Ringwald
d7d7d1e4c5 mock: set max mtu fot att connection 2015-07-03 12:36:58 +02:00
Matthias Ringwald
6508a68d38 remove useless test 2015-07-02 16:22:06 +02:00
Matthias Ringwald
3652575526 gatt_client: more log_info, forward all HCI Events to gatt subclients 2015-05-21 15:36:49 +02:00
Matthias Ringwald
3df1d63fe3 fix warnings 2015-05-13 16:07:17 +02:00
Matthias Ringwald
71de195ed3 fix c99 warnings for missing argument of functions with no arguments, fix more warnings 2015-05-13 10:30:46 +02:00
Matthias Ringwald
15ae709331 fix comparison 2015-04-26 09:46:07 +02:00
Matthias Ringwald
1ae972aa1a add check for 'can send now' in gatt_client_write_value_of_characteristic_without_response 2015-04-04 22:52:11 +02:00
matthias.ringwald@gmail.com
aa3feb0444 wait for sm_cmac to become ready instead of bailing out for signed writes 2015-03-05 15:20:26 +00:00
matthias.ringwald@gmail.com
6a0c192f28 send prepared signed write request from gatt_client_run() 2015-03-05 15:05:35 +00:00
matthias.ringwald@gmail.com
c1899d25d0 pass sign counter into CMAC calculation functions 2015-03-05 14:42:26 +00:00
mila@ringwald.ch
a0c35809ae streamline copyright headers 2015-02-06 16:19:27 +00:00
mila@ringwald.ch
2a9ce0dec0 gatt client: added MTU getter 2015-02-05 14:34:03 +00:00
matthias.ringwald@gmail.com
ef10893067 avoid crash if no gatt client context can be created 2014-12-11 18:51:10 +00:00
mila@ringwald.ch
85c40a03e4 start start timer on gatt query 2014-12-11 17:29:40 +00:00