49 Commits

Author SHA1 Message Date
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
mila@ringwald.ch
7fe7736638 added log error if peripheral mtu is not iniitalized 2014-12-03 22:33:07 +00:00
matthias.ringwald@gmail.com
66771e4d3a emit GATT_QUERY_COMPLETE for Read Characteristic Value and Read Characteristic Descriptor 2014-12-03 20:40:53 +00:00
mila@ringwald.ch
3e05add930 gtt client extended to handle multiple subclients of a peripheral 2014-10-31 15:58:44 +00:00
mila@ringwald.ch
b30d296ecf cast BTstack error 2014-10-09 20:40:29 +00:00
mila@ringwald.ch
7c40ac80c0 rewrote gatt_client state handling: API uses handles instaed of context structs (adapted examples and daemon) 2014-10-02 20:06:29 +00:00
mila@ringwald.ch
9da54300b6 use log_info instead of printf, remove trailing newline from log calls 2014-08-15 21:26:50 +00:00
matthias.ringwald@gmail.com
219eea5f01 fix compile 2014-08-14 21:31:36 +00:00
matthias.ringwald@gmail.com
e5e1518d8a add l2cap_max_le_mtu 2014-08-14 15:36:00 +00:00
matthias.ringwald@gmail.com
d27c46f584 fix compile 2014-08-11 22:00:51 +00:00
matthias.ringwald@gmail.com
f9a298a27e use l2cap_can_send_fixed_channel_packet_now 2014-08-11 21:58:44 +00:00
mila@ringwald.ch
d3b1c40fa3 renamed gatt client register handler function 2014-07-04 08:42:30 +00:00
mila@ringwald.ch
94a521cb7e gatt client: api docu 2014-07-03 13:42:30 +00:00
matthias.ringwald@gmail.com
a93597fce0 return after sending an l2cap packet 2014-07-01 22:03:40 +00:00
matthias.ringwald@gmail.com
252bfddcb7 removed obsolete include left over from testing 2014-07-01 20:07:17 +00:00
mila@ringwald.ch
f64240626f gatt client: implemented signed write 2014-06-19 22:20:43 +00:00
matthias.ringwald
baecf7ef51 fix handling of packet sent events - gatt client might have got stuck before 2014-06-10 21:41:05 +00:00
mila@ringwald.ch
3828bad997 initialized uuid16 2014-05-30 15:14:08 +00:00
matthias.ringwald@gmail.com
26e2037d23 set client for find service by uuid 2014-05-25 23:35:21 +00:00
mila@ringwald.ch
f2f517a9b0 gatt client fixed reset peripheral state 2014-05-24 00:14:05 +00:00
matthias.ringwald@gmail.com
b1b297962f fix compile 2014-05-16 22:13:08 +00:00
matthias.ringwald@gmail.com
4d766027c1 disconnect LE HCI Connections for active GATT Clients 2014-05-16 22:10:43 +00:00
mila@ringwald.ch
a027ff0287 postpone MTU exchange by writes 2014-05-15 15:08:59 +00:00
mila@ringwald.ch
f50fd90e48 handle att errors 2014-05-15 14:45:51 +00:00
mila@ringwald.ch
95ecff4f84 Send complete event in case of disconnection 2014-05-15 13:53:07 +00:00
mila@ringwald.ch
faab072e58 Send complete event in case of disconnection 2014-05-15 12:56:28 +00:00
mila@ringwald.ch
a672584960 use single gatt_complete_event (handle, status) 2014-05-15 10:54:27 +00:00
matthias.ringwald@gmail.com
4e6f32d5a8 postpone MTU check 2014-05-11 20:53:02 +00:00
matthias.ringwald@gmail.com
e11fb83b1c drop le_characteristic_value_t and add characteristic write 2014-05-11 20:34:13 +00:00
mila@ringwald.ch
956f18fbf5 refactored serialize, deserialize gatt structs 2014-05-08 15:08:47 +00:00
mila@ringwald.ch
fe8aced921 extending daemon with gatt functionality 2014-05-08 13:31:06 +00:00
matthias.ringwald@gmail.com
93126f823e include own headers 2014-05-08 13:19:47 +00:00
mila@ringwald.ch
20bb552905 moved le cmd status, refactored gatt client is ready 2014-05-08 09:12:27 +00:00
mila@ringwald.ch
a3a0b0107d check state in gatt_client_discover_primary_services 2014-05-07 20:57:22 +00:00
matthias.ringwald@gmail.com
1a1c8b391b set client field in gatt events 2014-05-07 20:06:01 +00:00
mila@ringwald.ch
29c3012bc5 make get_gatt_client_context_for_handle public for daemon 2014-05-06 21:20:53 +00:00
mila@ringwald.ch
8f5e31a822 ble client: used att_dispatch_register_client 2014-05-02 08:06:50 +00:00
mila@ringwald.ch
cc4d39c396 gatt client moved to ble 2014-04-29 19:45:40 +00:00