2550 Commits

Author SHA1 Message Date
matthias.ringwald@gmail.com
88ed79cf89 fix ad report data 2014-05-16 22:35:59 +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
c73ffc61ed disconnect LE HCI Connections for active GATT Clients 2014-05-16 22:09:52 +00:00
mila@ringwald.ch
53b9c0f8cb daemon: send through socket complete long characteristic value 2014-05-16 15:01:57 +00:00
mila@ringwald.ch
0ef97525dd renamed ocf tag 2014-05-16 13:16:03 +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
b398e4aaf1 included hci.h 2014-05-15 10:55:03 +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
253ec883b1 disable use of pollfds until further investigation as it doesn't work 2014-05-15 10:45:53 +00:00
mila@ringwald.ch
0bf6344a11 assert le connection on le_connect, implement le_central_connect_cancel 2014-05-15 09:25:33 +00:00
matthias.ringwald@gmail.com
e31f89a786 prepare gap_le_connect_cancel command 2014-05-12 21:38:30 +00:00
matthias.ringwald@gmail.com
ea3e9e661d allow to config unix domain path and daemon log file via btstack-config.h 2014-05-12 21:25:01 +00:00
matthias.ringwald@gmail.com
4e6f32d5a8 postpone MTU check 2014-05-11 20:53:02 +00:00
matthias.ringwald@gmail.com
9a0689a770 don't reset gatt_client context every command 2014-05-11 20:52:34 +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
a3bf7a24d6 renumber events, add params 2014-05-11 20:32:56 +00:00
matthias.ringwald@gmail.com
01f1657c05 use LE buffers as main buffers when no classic buffers exist, e.g. on a LE single mode chip 2014-05-10 21:16:53 +00:00
matthias.ringwald@gmail.com
1f4c27cf5f log GATT Events to client, fix GATT Characteristic Serialization 2014-05-09 14:28:05 +00:00
matthias.ringwald@gmail.com
68fec83a7c use non-flushable packet boundary flag if supported - fixed unspecified behavior sending LE ACL packets 2014-05-09 13:37:31 +00:00
matthias.ringwald@gmail.com
c8eade752e initialize gatt_client in daemon 2014-05-09 13:36:42 +00:00
matthias.ringwald@gmail.com
e97722776d use non-flushable packet boundary flag if supported - fixed unspecified behavior sending LE ACL packets 2014-05-09 13:29:58 +00:00
matthias.ringwald@gmail.com
6ac9a97e5a add hci_non_flushable_packet_boundary_flag_supported 2014-05-09 13:23:04 +00:00
matthias.ringwald@gmail.com
191bc172f7 only use non-automatic-flushable acl packets for LE 2014-05-09 13:16:08 +00:00
matthias.ringwald@gmail.com
ccdf23f54b add params to hci_le_set_advertising_parameters, hci_le_set_advertising_data hci_le_set_advertise_enable 2014-05-09 13:12:14 +00:00
mila@ringwald.ch
956f18fbf5 refactored serialize, deserialize gatt structs 2014-05-08 15:08:47 +00:00
matthias.ringwald@gmail.com
a10aa107de fix compile for BLE, start gatt client for connection in deamon 2014-05-08 13:39:53 +00:00
mila@ringwald.ch
fe8aced921 extending daemon with gatt functionality 2014-05-08 13:31:06 +00:00
matthias.ringwald@gmail.com
36af3e18b6 only start le scan if not already scanning, only stop le scan if not idle 2014-05-08 13:30:05 +00:00
matthias.ringwald@gmail.com
564fca325a don't flip bd_addr in gap adv events, trigger hci_run on le_connect, improve debug output 2014-05-08 13:22:30 +00:00
matthias.ringwald@gmail.com
e34d53dab1 correct GAP_LE_ADVERTISING_REPORT format 2014-05-08 13:20:31 +00:00
matthias.ringwald@gmail.com
93126f823e include own headers 2014-05-08 13:19:47 +00:00
matthias.ringwald@gmail.com
e8349ed1f3 added format for GATT events, ordered event ids 2014-05-08 09:46:37 +00:00
matthias.ringwald@gmail.com
d23fde7f60 use U for UUID128 and L to denote uint16_t buffer length 2014-05-08 09:34:40 +00:00
mila@ringwald.ch
0a1abdbef4 daemon: checked gatt client state in discover primary services query 2014-05-08 09:20:19 +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
90f3290fb6 listed gatt commands 2014-05-08 08:50:34 +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
mila@ringwald.ch
1fc6917658 remove gatt_client_start/stop_cmd 2014-05-07 20:56:56 +00:00
mila@ringwald.ch
3129057b72 emit events for gatt_discover_primary_services 2014-05-07 20:56:15 +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
0cdcfdccf2 dispatch first GATT Client commands 2014-05-06 21:22:02 +00:00
mila@ringwald.ch
b2f949fe28 wrap LE code in HAVE_BLE condition 2014-05-06 21:21:34 +00:00