432 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
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
88789c6188 move set of last_cmd_opcode into send baud rate command block 2014-07-28 14:00:26 +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
5127cc624b track opcode during HCI initialization 2014-07-05 18:30:49 +00:00
matthias.ringwald@gmail.com
fe97d0a421 less hacks during boot-up 2014-07-04 07:27:52 +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
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
b257117999 use le connection parameters from iOS 7.0.4 2014-06-07 09:48:18 +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
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
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
matthias.ringwald@gmail.com
88ed79cf89 fix ad report data 2014-05-16 22:35:59 +00:00
mila@ringwald.ch
a672584960 use single gatt_complete_event (handle, status) 2014-05-15 10:54:27 +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
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
6ac9a97e5a add hci_non_flushable_packet_boundary_flag_supported 2014-05-09 13:23:04 +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
mila@ringwald.ch
b2f949fe28 wrap LE code in HAVE_BLE condition 2014-05-06 21:21:34 +00:00
matthias.ringwald@gmail.com
2b552b2306 define daemon commands for gap le scan and le connect, define gap events 2014-05-03 22:18:29 +00:00
mila@ringwald.ch
5917a5c529 ble client: moved disconnect to hci 2014-05-03 21:22:04 +00:00
mila@ringwald.ch
4f3229d8d2 ble client: connect functionality moved to hci 2014-05-02 21:53:08 +00:00
mila@ringwald.ch
57c9da5b07 ble client: implemented emit hci advertisement 2014-05-02 14:24:57 +00:00
mila@ringwald.ch
7bdc6798db ble client: scanning functionality moved to hci 2014-05-02 12:08:22 +00:00
matthias.ringwald@gmail.com
96a45072cb track Bluetooth Device Address Type in hci_connection_t struct 2014-04-25 10:43:19 +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
64f0b431f7 more use of hci_can_send_packet_now_using_packet_buffer 2014-04-03 15:27:03 +00:00
matthias.ringwald@gmail.com
6b4af23d08 add flag to track if hci packet buffer is reserved 2014-04-03 14:51:02 +00:00
matthias.ringwald@gmail.com
52d34f9829 disconnect with 0x13 after dedicated bonding 2014-02-12 07:44:36 +00:00
matthias.ringwald@gmail.com
8e618f72c9 add gap_set_local_name and mark local_name as const 2014-02-06 12:56:08 +00:00
matthias.ringwald@gmail.com
e80b2cf9cd trigger hci_run after setting auth req bonding flag 2014-01-28 21:53:15 +00:00