2996 Commits

Author SHA1 Message Date
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
56f7db6385 fix 'missing initializer' warnings 2017-05-05 11:29:39 +02:00
Matthias Ringwald
3982eab914 fix 'comparions is always true' warning 2017-05-05 11:27:23 +02:00
Matthias Ringwald
867053f82d avdtp: fix signed comparison warning 2017-05-05 11:24:16 +02:00
Matthias Ringwald
6484b28a8c avdtp: introduce AVDTP_INVALID_SEP_INDEX and use in init 2017-05-05 11:21:29 +02:00
Matthias Ringwald
8e24486a4a fix static only warning 2017-05-02 19:06:13 +02:00
Matthias Ringwald
d0756da49e fix format warnings for uint32_t values 2017-05-02 19:05:56 +02:00
Matthias Ringwald
bace42effc fix format warnings for uint32_t values 2017-05-02 16:17:33 +02:00
Matthias Ringwald
5c5f3f76da h5: add 50 ms to minimum resend timeout 2017-05-02 15:53:52 +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
b403028e72 h4: support wakeup via wakeup-up handler for h5 2017-05-02 00:29:01 +02:00
Matthias Ringwald
c3dafd4604 btstack_uart_block: add set_wakeup_handler to allow wake up notifications 2017-05-01 18:13:51 +02:00
Matthias Ringwald
c4e86052e3 h4: use enum for EHCILL message types - fixes compile error when used as case labels 2017-05-01 12:59:58 +02:00
Matthias Ringwald
39e7ee9f5d cc256x: ENABLE_CC256X_BAUDRATE_CHANGE_FLOWCONTROL_BUG_WORKAROUND avoids lost bytes during baud rate change, updated docu 2017-04-30 00:13:30 +02:00
Matthias Ringwald
8eb8d46326 hid_device: extract l2cap handling into classic/hid_device, send events 2017-04-27 14:57:02 +02:00
Matthias Ringwald
dd148ddbc5 hid_device: added HID Meta Events 2017-04-27 14:56:07 +02:00
Matthias Ringwald
d40c9ac6cf hid_device: move hid_create_sdp_record into classic/hid_device.h 2017-04-27 11:39:25 +02:00
Matthias Ringwald
b3264428f7 ble: fix compile ifndef ENABLE_CLASSIC 2017-04-26 15:38:12 +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
b178c54806 h5: don't log single bytes for rx 2017-04-24 15:24:02 +02:00
Matthias Ringwald
bf71c89905 h5: send empty config reponse for empty config message 2017-04-23 00:19:32 +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
b8ae70b42a hci_dump: fix crash on posix systems caused by logging 2017-04-13 15:55:57 +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
6401061a3c hci_dump: use printf for log_... if packet log is not open on posix 2017-04-10 15:20:47 +02:00
Matthias Ringwald
e950fa96e9 util: make log_debug_hexdump only print hexdump if ENABLE_LOG_DEBUG 2017-04-10 15:19:58 +02:00
Matthias Ringwald
b304e673c2 h5: use log_debug[_hexdump] for debug level output 2017-04-07 22:34:20 +02:00
Matthias Ringwald
cb42147ab2 hci_debug: add log_debug_hexdump 2017-04-07 22:33:17 +02:00
Matthias Ringwald
daa2e90cf2 h5: add hci_transport_h5_enable_bcsp_mode() to use BCSP with CSR chipsets 2017-04-07 12:39:30 +02:00
Matthias Ringwald
834bce8cfd hci: reset H5/BCSP link for CSR with baud change 2017-04-07 12:39:30 +02:00
Matthias Ringwald
1b84b25d6a sdp_util: fix sdp_service_search_pattern_for_uuid128 2017-04-06 16:21:52 +02:00
Matthias Ringwald
55bb522c69 sdp_client_rfcomm: mark read-only args as const 2017-04-06 14:16:05 +02:00
Matthias Ringwald
5222912b1f util: mark all read-only arguments as const 2017-04-06 14:13:15 +02:00
Matthias Ringwald
09ac355c8a sdp_rfcom_query: add sdp_client_query_rfcomm_channel_and_name_for_uuid128, use sdp_service_search_pattern_for_uuid16 and sdp_service_search_pattern_for_uuid128 instead of creating search pattern manually 2017-04-06 12:18:31 +02:00
Milanka Ringwald
11cae19e58 l2cap: fix for le data channels 2017-04-04 11:24:24 +02:00
Matthias Ringwald
182c3ec8d7 hci: controller to host flow control - set host size before enabling flow control 2017-04-02 20:46:05 +02:00
Matthias Ringwald
dcd578c4c7 Merge branch 'hci-controller-to-host-flow-control' into develop 2017-04-01 15:46:41 +02:00
Matthias Ringwald
2b8382013c hci: Controller to Host Flow Control + docs 2017-04-01 15:46:16 +02:00
Matthias Ringwald
2a7d66b392 avdtp: delete sbc decoding from avdtp_source 2017-03-31 16:05:40 +02:00
Matthias Ringwald
6315579769 sdp_client: abort query on SDP_ErrorResponse 2017-03-30 22:42:20 +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
235946f152 bluetooth_sdp: use scraped SDP UUID and PSMs for SDP record creation and parsing 2017-03-26 22:19:18 +02:00
Matthias Ringwald
46b212911c bluetooth_sdp: add Browse Group Identifiers 2017-03-26 21:57:06 +02:00
Matthias Ringwald
a224d682a3 bnep: use UUIDs from bluetooth_sdp.h 2017-03-25 22:51:28 +01:00
Matthias Ringwald
dd80720956 debug: prepend filename and line number for log_X macros 2017-03-25 22:09:03 +01: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