143 Commits

Author SHA1 Message Date
mila@ringwald.ch
3828bad997 initialized uuid16 2014-05-30 15:14:08 +00:00
mila@ringwald.ch
de5f7c71c9 Use CSV parsing lib instead of string split 2014-05-30 13:27:35 +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
matthias.ringwald@gmail.com
1a686d5ebc fix syntax for Python 3, see #393 2014-05-15 19:50:12 +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
matthias.ringwald@gmail.com
191bc172f7 only use non-automatic-flushable acl packets for LE 2014-05-09 13:16:08 +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
858f985fed add context field for higher layers in gatt_client_t 2014-05-07 20:57:43 +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
matthias.ringwald@gmail.com
adbf5dce60 add gatt_client_t * client to all events 2014-05-07 20:04:53 +00:00
matthias.ringwald@gmail.com
ae58dc74a5 annotate convenience functions 2014-05-06 21:22:55 +00:00
mila@ringwald.ch
29c3012bc5 make get_gatt_client_context_for_handle public for daemon 2014-05-06 21:20:53 +00:00
matthias.ringwald@gmail.com
bcdaafa184 sort fields a bit 2014-05-05 21:50:13 +00:00
mila@ringwald.ch
746c7f9e77 ble client: removed le_event definition 2014-05-03 22:12:32 +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
matthias.ringwald@gmail.com
73b0d685f1 remove l2cap_register_packet_handler as fixed channel already forwards HCI events 2014-04-28 21:02:26 +00:00
matthias.ringwald@gmail.com
963ed45b19 removed useless code - HCI connectable isn't relevant for LE 2014-04-28 20:51:48 +00:00
matthias.ringwald@gmail.com
e070741715 forward HCI Events to att and sm packet handlers, too 2014-04-28 20:51:11 +00:00
matthias.ringwald@gmail.com
c6d061e8ab add att_dispatch to allow for independent implementations of ATT Client and ATT Server 2014-04-25 13:22:11 +00:00
matthias.ringwald@gmail.com
1eccbf8411 trate no OOB data callback as no oob data available 2014-04-11 13:07:27 +00:00
matthias.ringwald@gmail.com
41f83d2fa0 use utils.c 2014-04-11 10:27:03 +00:00
matthias.ringwald@gmail.com
ac4c738e79 fix name of error code 2014-04-10 21:55:44 +00:00
matthias.ringwald@gmail.com
404e02de70 include <string.h> instead of <strings.h> to use memcpy 2014-04-03 21:40:48 +00:00
matthias.ringwald@gmail.com
20473f8051 fix check for att_error_response 2014-04-03 21:11:42 +00:00
matthias.ringwald@gmail.com
3d0fc0bc8b use prepared packets in att_server.c 2014-04-03 20:39:43 +00:00
matthias.ringwald@gmail.com
68a0fcf7e2 added hci_release_packet_buffer() and l2cap_release_packet_buffer() 2014-04-03 20:24:24 +00:00
matthias.ringwald@gmail.com
facf93fdba rename hci_get_outgoing_acl_packet_buffer into hci_get_outgoing_packet_buffer 2014-04-03 19:51:07 +00:00
matthias.ringwald@gmail.com
c8b9416af2 add asserts to check if buffer was reserved before calling send prepared 2014-04-03 19:37:03 +00:00
matthias.ringwald@gmail.com
640925c0e2 use l2cap_can_send_connectionless_packet_now instead of hci_can_send_packet_now_using_packet_buffer(HCI_ACL_DATA_PACKET) 2014-04-03 19:00:31 +00:00
matthias.ringwald@gmail.com
3cab4fcaa6 add l2cap_can_send_connectionless_packet_now 2014-04-03 18:59:44 +00:00
matthias.ringwald@gmail.com
64f0b431f7 more use of hci_can_send_packet_now_using_packet_buffer 2014-04-03 15:27:03 +00:00
matthias.ringwald@gmail.com
6950c29ff6 also check if hci buffer can be used in att_server 2014-04-03 15:21:14 +00:00
matthias.ringwald@gmail.com
3f3e5fbae4 delete accidentally added code 2014-04-03 15:19:37 +00:00
matthias.ringwald@gmail.com
7856fb3169 reserve l2cap packet buffer before using it 2014-04-03 15:16:45 +00:00
mila@ringwald.ch
9828cc424d ble client: implemented write client characteristic configuration, not tested 2014-03-27 23:00:28 +00:00
matthias.ringwald@gmail.com
df8b2fa640 pass empty buffer for ATT_TRANSACTION_MODE_EXECUTE in write callback 2014-03-21 16:08:14 +00:00