1296 Commits

Author SHA1 Message Date
matthias.ringwald@gmail.com
5fa0b7cf47 add missing argument 2014-08-02 15:03:37 +00:00
matthias.ringwald@gmail.com
c22aecc9a7 replace all manual list iteration with linked_list_iterator functions in l2cap 2014-07-31 21:18:43 +00:00
matthias.ringwald@gmail.com
9dcb2fb2ec stop l2cap_rx_timer before free'ing l2cap_channel_t, fixes issue #404 2014-07-31 20:14:15 +00:00
matthias.ringwald@gmail.com
9d14b626ad check command could be sent before creating command packet, additional error messages 2014-07-30 21:04:25 +00:00
matthias.ringwald@gmail.com
826f734756 replace hci_send_acl_packet(data,size) with hci_send_acl_packet_buffer(size) to document that ACL packet have to be prepared in the hci packet buffer 2014-07-30 20:46:27 +00:00
matthias.ringwald@gmail.com
84105e85ff drop support for sending raw ACL packets in client/server configuartion via daemon 2014-07-30 20:39:07 +00:00
matthias.ringwald@gmail.com
a827874ef0 use cfmakeraw to also remove ICRNL flag that would translate 0x0d to 0x0a on input 2014-07-29 22:07:11 +00:00
matthias.ringwald
9dc1b82bc9 store 16-bit values in SDP_QUERY_ATTRIBUTE_VALUE event from daemon, fixes #408 2014-07-29 15:07:46 +00:00
matthias.ringwald
933d47a624 remove unused variable 2014-07-29 15:06:35 +00:00
matthias.ringwald
88789c6188 move set of last_cmd_opcode into send baud rate command block 2014-07-28 14:00:26 +00:00
matthias.ringwald
7d0b5a77e8 set transfer active before submitting it. Fixes race condition reported in #406 2014-07-08 12:25:12 +00:00
matthias.ringwald@gmail.com
a2481739c9 prepare to move init sequence logic into hci_initializing_event_handler 2014-07-06 22:21:34 +00:00
matthias.ringwald@gmail.com
6155b3d3f9 also extracted hci_initializing_event_handler 2014-07-06 21:55:35 +00:00
matthias.ringwald@gmail.com
bd88fde94e extacted hci_initializing_state_machine 2014-07-06 21:46:22 +00:00
matthias.ringwald@gmail.com
198279761c try to bring Blutooth module into defined state by sending HCI RESET twice 2014-07-06 20:26:03 +00:00
matthias.ringwald@gmail.com
5127cc624b track opcode during HCI initialization 2014-07-05 18:30:49 +00:00
mila@ringwald.ch
d3b1c40fa3 renamed gatt client register handler function 2014-07-04 08:42:30 +00:00
matthias.ringwald@gmail.com
fe97d0a421 less hacks during boot-up 2014-07-04 07:27:52 +00:00
mila@ringwald.ch
4265152c0d fix linking 2014-07-03 13:42:00 +00:00
matthias.ringwald@gmail.com
44935e4085 extracted hci_power_transition_to_initializing, reset reserved hci when transition to initializing 2014-07-01 22:41:34 +00:00
matthias.ringwald@gmail.com
97b61c7b5a release packet buffer if ACL send fails 2014-07-01 21:47:22 +00:00
matthias.ringwald@gmail.com
1f479f8c7c better debug output for le connections 2014-07-01 20:10:39 +00:00
matthias.ringwald@gmail.com
7586ee3597 reboot Bluetooth on Hardware Error 2014-06-26 15:20:09 +00:00
matthias.ringwald@gmail.com
e01fe8b6c0 test for advertising event with multiple reports 2014-06-26 12:48:47 +00:00
mila@ringwald.ch
d31fba26e2 also trigger hci_run loop on disconnect all 2014-06-19 10:56:52 +00:00
matthias.ringwald
04a6ef8c3b disconnect all connections when last client disconnects from daemon 2014-06-19 10:33:11 +00:00
matthias.ringwald
24698a3ff3 report GATT_CLIENT_NOT_CONNECTED if hci connnection not open 2014-06-19 07:19:45 +00:00
matthias.ringwald
529859a2a7 store connection for SDP_CLIENT_QUERY_SERVICES in daemon, fixes #398 2014-06-16 21:50:44 +00:00
matthias.ringwald
4c46246592 use linked_list_iterator to address #400 2014-06-16 21:34:42 +00:00
matthias.ringwald
2412778b77 added linked list iterator implementation and unit tests 2014-06-16 20:55:54 +00:00
matthias.ringwald
f20168b8c1 re-enable bondable (regression from 2641) 2014-06-15 08:54:47 +00:00
matthias.ringwald
74308b2342 keep discoverable/connectable as this has been requested by the client(s) 2014-06-15 08:42:50 +00:00
matthias.ringwald
dc277fca3b add HACK to deal with duplicate HCI Reset Complete events seen on cheapo CSR8510 A10 USB Dongle 2014-06-13 13:11:21 +00:00
matthias.ringwald
b161b44fed keep track of allocated data sources for use with pollfds, free pollfds list. fix for #397 2014-06-12 15:24:51 +00:00
matthias.ringwald
176ffe5c52 added checks to prevent calling libusb functions after libusb_close() was called 2014-06-12 12:22:51 +00:00
matthias.ringwald
5c16dde5c9 fix use after free in rfommm multiplexer, fixes #395 2014-06-12 08:17:42 +00:00
matthias.ringwald
b257117999 use le connection parameters from iOS 7.0.4 2014-06-07 09:48:18 +00:00
matthias.ringwald
0fdde038bc added gap_le_set_scan_parameters to daemon 2014-06-07 08:06:25 +00:00
matthias.ringwald
ef11999f21 added le_central_set_scan_parameters 2014-06-07 07:58:21 +00:00
matthias.ringwald
e2602ea29f set le scan parameters from hci_stack 2014-06-07 07:54:27 +00:00
matthias.ringwald
8ebb5506d7 set le scan parameters during init 2014-06-07 07:49:16 +00:00
matthias.ringwald
11d5dec16d log BTstack version, revision, and build date in dump file 2014-06-07 07:25:37 +00:00
matthias.ringwald
a2f2df82c6 sync BTSTACK_MINOR with Cydia version, add BTSTACK_DATE 2014-06-07 07:08:29 +00:00
matthias.ringwald
7851196edd rewrote le_central_connect_cancel, fix gap_disconnect again 2014-06-05 06:28:17 +00:00
matthias.ringwald
d9b049aa86 emit disconnection_complete on gap_disconnect 2014-06-05 05:54:00 +00:00
matthias.ringwald
c51407e08f list default port and socket in daemon 2014-06-03 21:15:56 +00:00
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
595bdbfb41 Reset HCI state when rebooting Bluetooth 2014-05-30 14:00:20 +00:00