347 Commits

Author SHA1 Message Date
Matthias Ringwald
755bc58582 hci: remove hci_set_local_version_information_callback (use hci_add_event_handler instead) 2016-12-14 11:50:46 +01:00
Matthias Ringwald
94be1a6633 provide _va_arg type variants for hci_send_cmd and hci_dump_log 2016-11-30 22:15:40 +01:00
Matthias Ringwald
3a6673b69a fix build for classic-only 2016-11-22 15:27:28 +01:00
Matthias Ringwald
18707219a5 att_server: move state into hci_connection_t to handle multiple ATT clients 2016-11-21 16:30:18 +01:00
Matthias Ringwald
e90bae0148 hci: read local name during init 2016-11-12 22:53:26 +01:00
Matthias Ringwald
33373e4028 sm: use fake public addresss of nRf5 chipsets as random static address 2016-11-10 21:51:01 +01:00
Matthias Ringwald
52b551c3a3 sm: fix Random Address generation when enabled before HCI is working 2016-11-08 15:13:36 +01:00
Matthias Ringwald
577ca2d3ba hci: skip write synchronous flow control enable and write default erroneos data reporting if commands not supported 2016-10-03 17:07:43 +02:00
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
4b8b5afea6 sm: handle IRK lookup in general case, inline SM_SC_SEND_LTK_REQUESTED_NEGATIVE_REPLY handling 2016-09-28 10:51:44 +02:00
Matthias Ringwald
41d322973c sm: fix sending of negative ltk reply 2016-09-28 10:43:33 +02:00
Matthias Ringwald
8cff923e81 Merge branch 'develop' into a2dp 2016-08-24 13:45:38 +02:00
Matthias Ringwald
3e68d23d21 hci: add hci_extended_sco_link_supported 2016-07-28 17:28:14 +02:00
Matthias Ringwald
c2e1fa6005 hci: provided error code in hardware error callback 2016-07-17 20:58:49 +02:00
Matthias Ringwald
06cd539f41 sm: fix pairing in legacy mode 2016-07-15 17:28:02 +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
d747193162 sm: use ltk from db for sc in responder role, fix sending keypress notifictations 2016-06-27 14:37:47 +02:00
Matthias Ringwald
59066796a6 sm: extract sm_start_calculating_ltk_from_ediv_and_rand 2016-06-24 16:50:03 +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
f1c1783e41 sm: use LE Random for initiator/jw_nk 2016-05-29 20:22:11 +02:00
Matthias Ringwald
945888f5ea sm: fix local nonce generation 2016-05-29 19:59:02 +02:00
Matthias Ringwald
901c000fcc sm: use state var to track DHKEY_CHECK_COMMAND received 2016-05-29 14:40:50 +02:00
Matthias Ringwald
bd57ffebb0 sm: use AES CMAC Engine to calculate g2 for numeric comparison 2016-05-28 23:42:47 +02:00
Matthias Ringwald
0346c37cbe sm: use AES CMAC Engine to calculate f5 for dhkey check verification 2016-05-27 23:09:08 +02:00
Matthias Ringwald
019005a057 sm: use AES CMAC Engine to calculate f6 for dhkey check verification 2016-05-27 21:54:28 +02:00
Matthias Ringwald
dc30084780 sm: prepare dhkey check to use AES CMAC Engine 2016-05-27 21:06:16 +02:00
Matthias Ringwald
688a08f9c2 sm: use AES Engine for f4 (confirm validation) 2016-05-27 18:57:59 +02:00
Matthias Ringwald
aec9414068 sm: use AES Engine for f4 2016-05-27 18:01:39 +02:00
Matthias Ringwald
c6b7cbd9f9 sm: use SM_SC_ for SC states 2016-05-27 16:40:53 +02:00
Matthias Ringwald
45a61d50fd sm: support SC Passkey Entry 2016-05-27 16:40:53 +02:00
Matthias Ringwald
446a8c36fb sm: support Numeric Comparison 2016-05-27 16:40:53 +02:00
Matthias Ringwald
e53be89155 sm: calculate DHKey, LTK, and DHKey Check values. Require only Encryption in example 2016-05-27 16:40:53 +02:00
Matthias Ringwald
27c32905a3 sm: answer public key command in responder role 2016-05-27 16:40:53 +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
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
1ad129be78 sm: use uint8_t[7] instead of struct for sm_pairing_packet_t to avoid to depend on packed structs 2016-04-20 16:53:47 +02:00
Matthias Ringwald
a3f81b3616 sm: use uint8_t[7] instead of struct for sm_pairing_packet_t to avoid to depend on packed structs 2016-04-20 16:51:36 +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
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
f2e4546806 hci: always reserve 6 bytes as HCI_INCOMING_PRE_BUFFER, drop HAVE_BNEP flag 2016-03-28 19:20:46 +02:00
Matthias Ringwald
60b9e82fcb hci/gap: move set_class_of_device to gap 2016-03-26 23:14:43 +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
501f56b360 add gap_scan_response_set_data 2016-03-09 11:15:47 +01:00
Matthias Ringwald
fc64f94a83 use hci_con_handle_t more 2016-02-19 13:57:49 +01:00
Matthias Ringwald
15a95bd5aa gap: declare more hci functions as gap functions 2016-02-18 17:12:57 +01:00