229 Commits

Author SHA1 Message Date
Matthias Ringwald
eaac31e881 fix build 2017-06-07 15:14:53 +02:00
Matthias Ringwald
cd01c0178c sm: fix compile 2017-05-05 15:30:22 +02:00
Matthias Ringwald
add51d7238 esp32: use micro-ecc from esp-idf 2017-05-05 15:20:31 +02:00
Matthias Ringwald
4b8ec5bc8f sm: support standard as well as dynamic micro-ecc implementation. fix shared key calculation when not using WICED 2017-05-05 15:18:29 +02:00
Matthias Ringwald
7149bde5b4 define HCI_CON_HANDLE_INVALID and use in sm.c. Fixes issues with con handles that are 0 2017-05-05 15:16:07 +02:00
Matthias Ringwald
8e24486a4a fix static only warning 2017-05-02 19:06:13 +02:00
Matthias Ringwald
7df1ef2f9e sm: HAVE_AES128 allows to complete AES128 by Host instead of Bluetooth Controller - rarely needed 2017-05-02 15:30:45 +02:00
Matthias Ringwald
cdb8bfaea6 wiced: use micro-ecc from WICED SDK to avoid duplicate symbols 2017-04-25 20:48:09 +02:00
Matthias Ringwald
880113226d sm: fix compile without LE Secure Connections 2017-04-13 16:31:00 +02:00
Matthias Ringwald
35ef865576 sm: check HCI_PAYLOAD_SIZE when LE Secure Connections are used 2017-04-13 16:20:27 +02:00
Matthias Ringwald
5198fffa56 sm: only return prepared random data during ec key generation 2017-04-13 16:10:14 +02:00
Matthias Ringwald
c692d77638 sm: use micro-ecc for p256r1 calculation 2017-04-13 15:23:09 +02:00
Matthias Ringwald
fc5bff5f5a sm: store public key in single 64 byte array instead of two 32 byte arrays 2017-04-13 15:23:09 +02:00
Matthias Ringwald
61f37892ce bluetooth_company_id: use scraped defines instead of small set from bluetooth.h before 2017-03-30 22:19:17 +02:00
Matthias Ringwald
ab2c6ae4b7 tool: add update_filename.py that adds __BTSTACK_FILE__ to every .c file for use with debug output instead of __FILE__ 2017-03-24 23:39:20 +01:00
Matthias Ringwald
d9d230549a use log_debug for 'can send now' events 2017-03-02 16:48:13 +01:00
Matthias Ringwald
53be73e88a tests: fix compile 2017-02-20 11:30:58 +01:00
Matthias Ringwald
22aa151238 le_device_db_memory: make nr of entries configurable via MAX_NR_LE_DEVICE_DB_ENTRIES 2017-02-11 22:44:02 +01:00
Matthias Ringwald
eda85fbfc3 sm: don't store info for signed writes without ENABLE_LE_SIGNED_WRITE 2017-02-11 22:26:34 +01:00
Matthias Ringwald
dd5196913b sm: make own_address_type accessible for central-only, too 2017-01-18 12:15:04 +01:00
Matthias Ringwald
b95a5a357a gap_le: cleanup use of own address for scanning, advertisements, and connection creation 2017-01-18 11:50:45 +01:00
Matthias Ringwald
d70217a228 gap: require ENABLE_LE_CENTRAL for adv scans and outgoing connections, ENABLE_LE_PERIPHERAL for advertisements 2017-01-15 22:32:52 +01:00
Matthias Ringwald
42134bc67d sm: comment code for not supported role if only Central or Peripheral are enabled 2017-01-14 22:04:38 +01:00
Matthias Ringwald
1a68220246 config: add ENABLE_LE_PERIPHERAL and ENABLE_LE_CENTRAL to be able to reduce code size in Security Manager 2017-01-14 17:47:16 +01:00
Matthias Ringwald
02b78fc885 fix compile 2017-01-13 19:30:00 +01:00
Matthias Ringwald
7a766ebf4f LE: require ENABLE_LE_SIGNED_WRITE for ATT/GATT Signed Writes 2017-01-13 18:56:26 +01:00
Matthias Ringwald
1934b58658 doc: tidy function signature, improve api parser 2017-01-10 13:56:21 +01:00
Matthias Ringwald
d066298299 fix unused params warnings 2016-12-22 22:44:50 +01:00
Matthias Ringwald
9ec2630ce4 fix unused parameters warning 2016-12-22 22:16:16 +01:00
Matthias Ringwald
fecc923b73 avoid warning in battery_service_server 2016-12-22 17:54:09 +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
3bdbb0eac8 battery_service: use battery_value_client_configuration_connection for notify 2016-11-21 16:28:44 +01:00
Matthias Ringwald
334126b319 sm: provide le_device_db_index in SM_EVENT_IDENTITY_RESOLVING_SUCCEEDED again 2016-11-21 16:24:45 +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
8f57b085d4 gap_le: fix random static address handling 2016-11-10 17:31:58 +01:00
Matthias Ringwald
a435582038 GATT Server: implement Device Information Service Server 2016-11-08 21:30:36 +01:00
Matthias Ringwald
5777861b2b sm: fix setting Random Address when set via gap_random_address_set before HCI is working 2016-11-08 15:25:47 +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
804d3e67ed sm: fix compile without ENABLE_LE_SECURE_CONNECTIONS 2016-11-07 23:16:39 +01:00
Matthias Ringwald
09e4d3970f sm: send le read p256 public key on start 2016-11-07 17:07:02 +01:00
Matthias Ringwald
c61a5ea7e3 battery service, fix compile 2016-11-02 17:08:28 +01:00
Matthias Ringwald
85a677ece0 move GATT services into src/ble/gatt-service 2016-11-02 15:31:48 +01:00
Matthias Ringwald
2630ffe4ed fix name battery_service_server_set_battery_value 2016-11-02 12:52:00 +01:00
Matthias Ringwald
23ffcbe214 GATT Server: implement Battery Service Server 2016-11-01 18:41:20 +01:00
Matthias Ringwald
660ce36883 gatt_server: add minimal functionality to support modular GATT Server Server implementations 2016-11-01 18:40:45 +01:00
Matthias Ringwald
bb38f05734 att_server: allow individual service implementations to register for can send now callbacks 2016-11-01 15:42:03 +01:00
Matthias Ringwald
8ac574d6fa att_server: allow to register handler for handle range - needed for modular service implmeentation 2016-10-31 21:22:16 +01:00
Matthias Ringwald
13377825df sm: add identity_addr and identiy_addr_type to SM_EVENT_IDENTITY_RESOLVING_SUCCEEDED. Also emit SM_EVENT_IDENTITY_CREATED during pairing 2016-10-27 11:11:40 +02:00
Matthias Ringwald
3545469685 hci: disable parts of classic code if ENABLE_CLASSIC is not defined 2016-10-19 16:06:11 +02:00
Matthias Ringwald
202c8a4c4c fix warnings/bugs reported by eclipse static analyzer 2016-10-19 10:49:33 +02:00