961 Commits

Author SHA1 Message Date
Matthias Ringwald
7c485f8b45 example: add sm_pairing_central 2016-06-10 11:03:59 +02:00
Matthias Ringwald
fd30bf16b2 example/sm_pairing_peripheral: unix line endings, constant value in characteristic 2016-06-10 10:30:12 +02:00
Matthias Ringwald
d7ee901afc example: add sm_pairing_peripheral 2016-06-10 10:21:46 +02:00
Matthias Ringwald
b8f36d6c46 Merge branch 'develop' into le-secure-connection 2016-06-09 21:44:03 +02:00
Matthias Ringwald
65724832b5 examples-le: set BR/EDT not supported Flag in Advertisement for LE only examples 2016-06-07 21:56:18 +02:00
Matthias Ringwald
04da39e3f2 le: drop le_device_db_dummy.c 2016-06-07 16:17:47 +02:00
Matthias Ringwald
68437d838a sm: use custom memory allocator for mbedtls if not HAVE_MALLOC 2016-06-03 17:05:38 +02:00
Milanka Ringwald
287eecff9a example: add void 2016-06-03 15:58:50 +02:00
Milanka Ringwald
0f09bd9698 battery example: add round-robin blacklist for devices that do not have battery service 2016-06-03 15:54:29 +02:00
Matthias Ringwald
d3bd960056 sm: use mbedtls's memory allocator with 5k buffer if HAVE_MALLOC is not defined 2016-06-01 12:15:41 +02:00
Matthias Ringwald
6643eff824 sm: track calloc/free in mbedtls 2016-06-01 10:43:47 +02:00
Matthias Ringwald
b042cbd999 Merge branch 'le-secure-connection' of https://github.com/bluekitchen/btstack into le-secure-connection 2016-05-27 20:02:56 +02:00
Matthias Ringwald
c8c46d5108 sm: add sm_numeric_comparison_confirm(..) and use in le_counter 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
faccbb295e example: add characteristic that requires authentication, requrest le secure connecions 2016-05-27 16:40:53 +02:00
Matthias Ringwald
f7c85330b9 example/hsp+hfp: extract SCO test code into sco_demo_util 2016-05-23 18:04:57 +02:00
Matthias Ringwald
185c8cd41d example/hsp+hfp: extract SCO test code into sco_demo_util 2016-05-23 18:03:11 +02:00
Matthias Ringwald
18a2fc6f7f ad_parser: use const where possible 2016-05-18 11:21:34 +02:00
Matthias Ringwald
54a573de24 sm: add sm_numeric_comparison_confirm(..) and use in le_counter 2016-05-13 14:06:29 +02:00
Matthias Ringwald
6f8cfd5663 sm: support SC Passkey Entry 2016-05-12 19:25:39 +02:00
Matthias Ringwald
0e887e0988 sm: support Numeric Comparison 2016-05-12 14:33:08 +02:00
Matthias Ringwald
a348424464 sm: calculate DHKey, LTK, and DHKey Check values. Require only Encryption in example 2016-05-11 23:00:20 +02:00
Matthias Ringwald
ea0565ceb1 examples: simplify att_read_callback for le_couner and spp_and_le_counter again 2016-05-10 12:25:25 +02:00
Matthias Ringwald
7b6395ea58 examples: fix chunk len calculation in att_read_callback for le_couner and spp_and_le_couner 2016-05-10 10:06:29 +02:00
Matthias Ringwald
08ccb1829b example: add characteristic that requires authentication, requrest le secure connecions 2016-05-09 18:19:30 +02:00
Matthias Ringwald
d9ec3f99b2 example/hsp_X_demo: fix error report for HSP_SUBEVENT_RFCOMM_CONNECTION_COMPLETE 2016-04-22 10:09:40 +02:00
Matthias Ringwald
bdb44bd96a example/hsp+hfp: prettify SCO packet count, show remote addr in menu 2016-04-21 21:48:56 +02:00
Matthias Ringwald
13839019fa HFP + HSP: use uniform btstack_packet_handler_t 2016-04-21 21:37:40 +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
3cef842b65 example/hfp_ag: send sinus wave to HF 2016-04-21 15:58:44 +02:00
Matthias Ringwald
e64e0086b6 example/hfp_ag: tidy up 2016-04-21 14:50:02 +02:00
Matthias Ringwald
6a7f493ac5 example/hsp: fix docu to refer to ENABLE_SCO_OVER_HCI 2016-04-18 16:15:39 +02:00
Matthias Ringwald
954716f043 example: drop example/gap_inquiry_and_bond.c 2016-04-10 22:00:25 +02:00
Matthias Ringwald
b3fcedb9c9 compile-gatt.py -> compile_gatt.py 2016-04-10 21:58:19 +02:00
Matthias Ringwald
d356a6da17 move 'BTstack up and running' message from examples into port/../main.c 2016-04-08 23:23:09 +02:00
Matthias Ringwald
b63f0f20d2 example: drop example/gap_inquiry_and_bond.c 2016-04-08 22:56:24 +02:00
Matthias Ringwald
77a5a3586d example/ancs_demo: register for both hci and sm events 2016-04-08 21:38:24 +02:00
Milanka Ringwald
a0653c3b5c hfp: HFP_SUBEVENT_SERVICE_LEVEL_CONNECTION_ESTABLISHED emited with connection handle 2016-04-08 17:04:40 +02:00
Matthias Ringwald
d057580e4d hci: add hci_request_sco_can_send_now_event 2016-04-08 12:30:35 +02:00
Matthias Ringwald
d735b00bf5 example/le_counter: only beat when connected 2016-04-07 15:42:32 +02:00
Matthias Ringwald
c141988c58 att_server: add con handle to send related functions 2016-04-07 14:52:50 +02:00
Matthias Ringwald
a31ff99271 examples: spp_and_le_counter, spp_counter - use rfcomm_request_can_send_now_event 2016-04-03 22:11:59 +02:00
Matthias Ringwald
9b146bc2f1 examples: spp_and_le_counter - use att_server_request_can_send_now_event 2016-04-03 21:37:20 +02:00
Matthias Ringwald
c4792ed925 examples: le_counter, le_streamer - use att_server_request_can_send_now_event 2016-04-02 22:22:36 +02:00
Milanka Ringwald
b6d4e5c9ae use l2cap event getters 2016-04-01 17:06:49 +02:00
Milanka Ringwald
8940fcc344 use getters in ATT_EVENT_MTU_EXCHANGE_COMPLETE 2016-04-01 16:35:38 +02:00
Milanka Ringwald
10cad10245 use getters in HCI_EVENT_LE_META 2016-04-01 16:28:01 +02:00
Milanka Ringwald
cdc7d1ab0b use btstack_event_state_get_state 2016-04-01 16:23:28 +02:00