591 Commits

Author SHA1 Message Date
Matthias Ringwald
ff00ed1c16 gap: add gap_set_extended_inquiry_response 2016-09-29 17:34:24 +02:00
Matthias Ringwald
f6858d14c8 hci: add hci_set_inquiry_mode to set inquiry mode during init 2016-09-29 15:52:13 +02:00
Matthias Ringwald
8cff923e81 Merge branch 'develop' into a2dp 2016-08-24 13:45:38 +02:00
Matthias Ringwald
c6a37cfdba hci: discard ACL fragement on connection close, too 2016-07-29 10:51:54 +02:00
Matthias Ringwald
28a0332dbe hci: discard ACL fragment when HCI connection is gone 2016-07-29 10:45:01 +02:00
Matthias Ringwald
8b96126ae2 hci: log eSCO support 2016-07-28 19:06:24 +02:00
Matthias Ringwald
3e68d23d21 hci: add hci_extended_sco_link_supported 2016-07-28 17:28:14 +02:00
Milanka Ringwald
abffc81948 move sco accept connection to the upper layers (hfp, hsp) 2016-07-28 13:57:44 +02:00
Milanka Ringwald
011577ab36 move esco accept connection to the upper layers (hfp, hsp) 2016-07-28 11:41:57 +02:00
Matthias Ringwald
c2e1fa6005 hci: provided error code in hardware error callback 2016-07-17 20:58:49 +02:00
Matthias Ringwald
26a9b6da53 hci: combine hci_packet_buffer_prefix with hci_packet_buffer into hci_packet_buffer_data and use hci_packet_buffer as pointer to point at pos HCI_OUTGOING_PRE_BUFFER_SIZE 2016-07-14 14:22:24 +02:00
Matthias Ringwald
313e5f9c03 hci: log cause for hardware error 2016-07-14 14:13:58 +02:00
Matthias Ringwald
7c959318bb fix warnings related to potential loss of precision for integer conversions 2016-07-05 11:31:53 +02:00
Matthias Ringwald
274dad91fe hci: fix null dereference in hci_send_cmd_packet when hci connection when table is full (II) 2016-07-04 14:21:01 +02:00
Matthias Ringwald
7224be7e77 clean ups and fixes to avoid warnings from static code analyzer 2016-07-01 14:48:49 +02:00
Matthias Ringwald
2deddeced7 hci: fix null dereference in hci_send_cmd_packet when hci connection table is full 2016-07-01 11:28:08 +02:00
Matthias Ringwald
2bacf59502 sm: derive BR/EDR Link Key from LE LTK established via LE Secure Connection 2016-06-20 14:17:25 +02:00
Matthias Ringwald
55597469a7 gap: extracted gap_store_link_key_for_bd_addr 2016-06-20 12:08:59 +02:00
Matthias Ringwald
1624665a98 link_key_db: add set_local_bd_addr to be able to store link key pairs (local/remote). Use in posix fs link key db 2016-06-07 09:57:21 +02:00
Matthias Ringwald
483c50788b hci: enable Default Erroneous Data Reporting for SCO over HCI 2016-05-20 14:26:48 +02:00
Matthias Ringwald
659d758c07 hci: increase HCI Reset resend timeout to 200 ms 2016-05-03 16:11:22 +02:00
Matthias Ringwald
0f78faa83f Merge branch 'master' into develop 2016-05-02 17:36:41 +02:00
Matthias Ringwald
3d50b4ba50 hci: use btstack_packet_handler_t for acl and sco callbacks 2016-04-21 20:47:37 +02:00
Matthias Ringwald
d58dd30887 hci: handle double reset after CSR Warm Boot 2016-04-14 11:50:34 +02:00
Matthias Ringwald
9f0074223d h5: add fixed to handle H5 state reset after CSR Warm Boot 2016-04-13 18:19:45 +02:00
Matthias Ringwald
d057580e4d hci: add hci_request_sco_can_send_now_event 2016-04-08 12:30:35 +02:00
Milanka Ringwald
a6ef64ba22 use hci_event_pin_code_request_get_bd_addr 2016-04-01 14:04:14 +02:00
Matthias Ringwald
f316a84558 posix: use ms timeouts in run loop and also in hci.c 2016-03-30 15:03:26 +02:00
Matthias Ringwald
aec7654d98 prefix embedded HAVE_ 2016-03-30 11:06:56 +02:00
Matthias Ringwald
d0755cd68c prefix POSIX related HAVE_ defines 2016-03-30 10:59:47 +02:00
Matthias Ringwald
0cb5b9716d fix prototypes for fn() 2016-03-28 11:44:30 +02:00
Matthias Ringwald
60b9e82fcb hci/gap: move set_class_of_device to gap 2016-03-26 23:14:43 +01:00
Matthias Ringwald
d999b54ec5 hci: update acl fragment position before sending as HCI_EVENT_TRANSPORT_PACKET_SENT might be emitted during transport sent 2016-03-25 22:02:44 +01:00
Matthias Ringwald
12754bbe05 hci: log ACL buffer state 2016-03-23 15:55:08 +01:00
Matthias Ringwald
4ced4e8cb8 gap: pass le_connection_parameter_range_t as pointer 2016-03-23 14:46:47 +01:00
Matthias Ringwald
a6ddbcb91c hci: re-add local version information callback for dynamic chipset configuration 2016-03-22 22:15:59 +01:00
Matthias Ringwald
4f4e0224cd hci: less debug for adv reports 2016-03-18 16:01:07 +01:00
Matthias Ringwald
501f56b360 add gap_scan_response_set_data 2016-03-09 11:15:47 +01:00
Matthias Ringwald
045013fe99 java: use streamline event names, GAP_LE_EVENT_ADVERTISING_REPORT -> GAP_EVENT_ADVERTISING_REPORT 2016-03-07 17:19:53 +01:00
Matthias Ringwald
71c4de7a56 sco: HAVE_SCO_OVER_HCI -> ENABLE_SCO_OVER_HCI 2016-03-01 17:29:04 +01:00
Matthias Ringwald
0e2df43f5c event: introduce hci_event_packet_get_type 2016-02-19 14:52:36 +01:00
Matthias Ringwald
fc64f94a83 use hci_con_handle_t more 2016-02-19 13:57:49 +01:00
Matthias Ringwald
711e6c8033 use hci_con_handle_t more 2016-02-19 11:24:51 +01:00
Matthias Ringwald
15a95bd5aa gap: declare more hci functions as gap functions 2016-02-18 17:12:57 +01:00
Matthias Ringwald
63fa3374ea hci_transport: send HCI_EVENT_TRANSPORT_PACKET_SENT when buffer can be re-used, send HCI_EVENT_SCO_CAN_SEND_NOW if that's separate 2016-02-18 14:48:41 +01:00
Matthias Ringwald
d8e8f12ab0 gap.h: use gap_ instead of le_central_ or gap_le_ 2016-02-12 17:04:41 +01:00
Matthias Ringwald
2d5e09d6d4 hci: set link_key_db via hci_set_link_key_db instead of via hci_init(). 2016-02-11 20:10:17 +01:00
Matthias Ringwald
9d294ab530 hci.h: mark transport config as const 2016-02-11 17:23:14 +01:00
Matthias Ringwald
95d7176479 hci.h: cleanup, mark functions as static 2016-02-11 17:21:42 +01:00
Matthias Ringwald
073bd0fad0 hci: COMMAND_COMPLETE_EVENT->HCI_EVENT_IS_COMMAND_COMPLETE. COMMAND_STATUS_EVENT->HCI_EVENT_IS_COMMAND_STATUS 2016-02-11 16:12:55 +01:00