2799 Commits

Author SHA1 Message Date
Milanka Ringwald
42d241c242 maths: aproximation of sqrt 2016-11-14 15:57:58 +01:00
Matthias Ringwald
9e263bd760 hci: log local name during init 2016-11-14 15:10:59 +01:00
Matthias Ringwald
e90bae0148 hci: read local name during init 2016-11-12 22:53:26 +01:00
Matthias Ringwald
9491a7bfdd streamline compilation for non-posix targets 2016-11-11 14:08:24 +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
3b1e9d13a3 Merge branch 'develop' of https://github.com/bluekitchen/btstack into develop 2016-11-07 22:10:57 +01:00
Matthias Ringwald
e49d496a74 hci_cmds: add hci_flush 2016-11-07 22:10:03 +01:00
Matthias Ringwald
09e4d3970f sm: send le read p256 public key on start 2016-11-07 17:07:02 +01:00
Matthias Ringwald
82180fcac7 add le commands for reading and generating diffie-hellman keys via hci commands 2016-11-07 15:15:48 +01:00
Matthias Ringwald
67711d5ef9 linked_list: add pop and get_first_item operations 2016-11-07 13:08:44 +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
c8771c2096 add bluetooth_gatt.h and bluetooth_data_types.h to btstack.h 2016-10-31 16:06:29 +01:00
Matthias Ringwald
1d0cde9daa use new Data Type defines from bluetooth_data_types 2016-10-31 16:05:07 +01:00
Matthias Ringwald
66fd343250 GATT Converter: replace - with _, prettify generated .h 2016-10-31 15:52:58 +01:00
Matthias Ringwald
0f308e7392 tool: scrape Bluetooth site for Data Types used in Advertisements, EIR, etc. 2016-10-31 15:44:45 +01:00
Matthias Ringwald
0e0e955978 gatt: provide UUIDs from Bluetooth SIG website at src/bluetooth_gatt.h 2016-10-27 16:26:54 +02:00
Matthias Ringwald
f3963406e0 introduce UNUSED macro 2016-10-27 15:04:09 +02:00
Matthias Ringwald
84182ed9e3 example/sm_pairing_peripheral: print identity address and type 2016-10-27 11:13:46 +02: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
a24785d0c1 l2cap: fix compile 2016-10-23 22:11:16 +02:00
Matthias Ringwald
bab5f4f00b l2cap: provide incoming flag for L2CAP and RFCOMM opened events 2016-10-23 22:08:44 +02:00
Matthias Ringwald
d715cf5114 hfp: disable mSBC if eSCO not available 2016-10-21 12:52:36 +02:00
Matthias Ringwald
d9f775598c hfp: check if local controller supports eSCO when deciding on packet types 2016-10-20 16:36:50 +02:00
Matthias Ringwald
a68a00a617 ringbuffer: add function markup 2016-10-20 15:25:00 +02:00
Milanka Ringwald
5a99111061 extend ring buffer indexes from uint16 to uint32 2016-10-20 15:24:03 +02:00
Milanka Ringwald
e270cb7d03 fix ring buffer read 2016-10-20 15:17:57 +02:00
Milanka Ringwald
ddaf35c757 add ring buffer implementation 2016-10-20 15:17:41 +02:00
Matthias Ringwald
52db98b2a8 hci: disable connection timeout check for BLE-only 2016-10-19 17:00:23 +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
be005ed60d l2cap: don't call gap_connectable_control if Classic is not used 2016-10-19 15:39:31 +02:00
Matthias Ringwald
09e9d05bab l2cap: reduce code size if ENABLE_CLASSIC not defined 2016-10-19 14:27:25 +02:00
Matthias Ringwald
202c8a4c4c fix warnings/bugs reported by eclipse static analyzer 2016-10-19 10:49:33 +02:00
Matthias Ringwald
cd4b342469 btstack_debug: allow to provide custom BTSTACK_PRINTF 2016-10-18 15:58:28 +02:00
Matthias Ringwald
a3dc965a0a l2cap: fix compile if le data channels not used 2016-10-18 15:51:58 +02:00
Matthias Ringwald
f30489e747 initial docu for le-data-channels 2016-10-18 15:45:20 +02:00
Matthias Ringwald
c99bb61874 add incoming to L2CAP_EVENT_LE_INCOMING_CONNECTION 2016-10-18 15:24:09 +02:00
Matthias Ringwald
12242deab3 add incoming to L2CAP_EVENT_LE_INCOMING_CONNECTION 2016-10-18 14:50:33 +02:00
Matthias Ringwald
57be49d61c move le data channel code towards the end 2016-10-18 12:27:22 +02:00
Matthias Ringwald
4427624894 add LE Data Channel Events (L2CAP_EVENT_LE_*). implement can send now logic 2016-10-18 11:49:04 +02:00