Commit Graph

2564 Commits

Author SHA1 Message Date
matthias.ringwald
87a0f31a89 enable BLE in configure for daemon 2014-06-03 20:56:58 +00:00
matthias.ringwald
910bd8e0ac output BTstack deamon usage on console 2014-06-03 20:48:12 +00:00
mila@ringwald.ch
bc68afe229 avoid sending HCI Disconnect Complete twice 2014-05-30 22:38:21 +00:00
mila@ringwald.ch
0a6ba8f040 clean up code and output 2014-05-30 22:35:14 +00:00
mila@ringwald.ch
d261ad7fc8 gatt example: discover primary services and characteristics 2014-05-30 15:14:31 +00:00
mila@ringwald.ch
3828bad997 initialized uuid16 2014-05-30 15:14:08 +00:00
mila@ringwald.ch
52a728e601 removed unsed files 2014-05-30 14:14:05 +00:00
mila@ringwald.ch
595bdbfb41 Reset HCI state when rebooting Bluetooth 2014-05-30 14:00:20 +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
d956eb8918 added event format for GATT Notification and Indication 2014-05-26 22:36:50 +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
7706940218 fix GATT_DISCOVER_PRIMARY_SERVICES_BY_UUID128 2014-05-24 00:12:53 +00:00
mila@ringwald.ch
62edaf9b8b passing notifications/indications through daemon 2014-05-22 09:22:44 +00:00
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