1325 Commits

Author SHA1 Message Date
matthias.ringwald@gmail.com
fdf1d293a2 added hci_read_rssi command 2014-08-26 17:59:51 +00:00
matthias.ringwald@gmail.com
cb00d3aa12 fix hci_number_free_acl_slots_for_handle to return num free classic slots if no le slots are available. Fixes issue #415 2014-08-24 20:38:20 +00:00
matthias.ringwald@gmail.com
e0c9fb0605 prevent SDP query from being sent twice in some cases 2014-08-24 20:18:52 +00:00
matthias.ringwald@gmail.com
0323be85d0 fix compile for daemon without ble 2014-08-22 13:51:31 +00:00
mila@ringwald.ch
03ce1a58ea l2cap and rfcomm close connection functionality was moved to deamon 2014-08-22 13:46:37 +00:00
mila@ringwald.ch
5d227f2503 added skeleton functions for adding/removing channels and services from rfcomm and l2cap 2014-08-22 09:38:58 +00:00
mila@ringwald.ch
1bd5283d7f emit dedicated bonding complete after HCI connection is closed, fixed issue #412 2014-08-21 13:23:18 +00:00
mila@ringwald.ch
e1c15343d6 send SDP Query Complete after Disconnect, fixes issue #412 2014-08-21 10:56:30 +00:00
mila@ringwald.ch
e13f76e01a provide sdp_query_rfcomm_deeregister(), and call it on client disconnect in daemon. fixes issue #399 2014-08-20 20:45:26 +00:00
mila@ringwald.ch
baf94f0687 fix outgoing l2cap connections (regression 'hci_number_free_acl_slots: handle 0x0000 not in connection list') 2014-08-20 20:15:50 +00:00
mila@ringwald.ch
49ca58d6a2 remove hexdump2, use printf_hexdump instead 2014-08-15 22:04:48 +00:00
mila@ringwald.ch
9da54300b6 use log_info instead of printf, remove trailing newline from log calls 2014-08-15 21:26:50 +00:00
mila@ringwald.ch
1ed596972a hexdump with log_info 2014-08-15 15:30:41 +00:00
mila@ringwald.ch
67a01a718e fix compile 2014-08-15 14:44:57 +00:00
mila@ringwald.ch
d1dc057ba8 corrected handling of advertising reports 2014-08-15 14:41:25 +00:00
matthias.ringwald@gmail.com
219eea5f01 fix compile 2014-08-14 21:31:36 +00:00
matthias.ringwald@gmail.com
e5e1518d8a add l2cap_max_le_mtu 2014-08-14 15:36:00 +00:00
matthias.ringwald@gmail.com
ee303eddf0 keep track of Classic and LE ACL slots seperately 2014-08-14 14:47:57 +00:00
matthias.ringwald@gmail.com
e79abdd605 replace hci_number_free_acl_slots with hci_number_free_acl_slots_for_handle 2014-08-14 13:06:29 +00:00
matthias.ringwald@gmail.com
d713a683b2 use hci_can_send_prepared_acl_packet_now instead of hci_number_free_acl_slots 2014-08-14 13:02:55 +00:00
matthias.ringwald@gmail.com
6cd4da6bc4 provide l2cap_can_send_fixed_channel_packet_now that takes handle as input 2014-08-11 21:49:15 +00:00
matthias.ringwald@gmail.com
a35252c8fd use hci_can_send_acl_packet_now instead of hci_can_send_packet_now_using_packet_buffer, hci_can_send_prepared_acl_packet_now instead of hci_can_send_packet_now - providing handle if available 2014-08-11 21:40:02 +00:00
matthias.ringwald@gmail.com
d94d3caf6b use hci_can_send_command_packet_now instead of hci_can_send_packet_now_using_packet_buffer(HCI_COMMAND_DATA_PACKET) 2014-08-11 21:20:07 +00:00
matthias.ringwald@gmail.com
ac928cc29a provide new hci_can_send_TYPE_packet_now functions 2014-08-11 20:45:01 +00:00
matthias.ringwald@gmail.com
5e451dd170 streamline use of hci_can_send_packet_now_using_packet_buffer instead of hci_can_send_packet_now 2014-08-11 20:20:36 +00:00
matthias.ringwald@gmail.com
6128d7404e prevent use after free when daemon client connection is closed, fixes issue #402 2014-08-09 11:43:07 +00:00
matthias.ringwald@gmail.com
ccf076ad21 emit L2CAP_EVENT_CONNECTION_PARAMETER_UPDATE_REQUEST and L2CAP_EVENT_CONNECTION_PARAMETER_UPDATE_RESPONSE 2014-08-08 20:52:02 +00:00
mila@ringwald.ch
206a90311e corrected HCI_EVENT_INQUIRY_RESULT and HCI_EVENT_INQUIRY_RESULT_WITH_RSSI handling 2014-08-08 13:14:07 +00:00
mila@ringwald.ch
2e440c8a50 corrected HCI_EVENT_NUMBER_OF_COMPLETED_PACKETS handling 2014-08-08 12:33:22 +00:00
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