3100 Commits

Author SHA1 Message Date
Matthias Ringwald
313e5f9c03 hci: log cause for hardware error 2016-07-14 14:13:58 +02:00
Matthias Ringwald
9ecd1ba8ab ehcill: fix bug when send packet was called between receive sleep ind and send of sleep ack 2016-07-14 11:28:08 +02:00
Milanka Ringwald
1ff8adc53a sbc plc: add and compile files 2016-07-14 11:21:39 +02:00
Matthias Ringwald
efedfb4cf8 l2cap: start creating connection via gap whitelest 2016-07-09 23:03:49 +02:00
Matthias Ringwald
da144af509 l2cap: extract l2cap_create_channel_entry. implement register/unregister le service 2016-07-09 23:03:49 +02:00
Matthias Ringwald
5073de0d83 l2cap: add LE Data Channel API 2016-07-09 23:03:49 +02:00
Matthias Ringwald
aa662eec9c libusb: allows to specify USB dongle with hci_transport_usb_set_path 2016-07-09 16:10:45 +02:00
Milanka Ringwald
613518d19a sbc decoder: fix sbc_decoder_process_data 2016-07-08 23:31:19 +02:00
Milanka Ringwald
fcb08cdb2a sbc decoder: integration with sco_util 2016-07-08 17:11:57 +02:00
Milanka Ringwald
b00330a893 sbc: reduce state vars in decoder state 2016-07-07 23:55:06 +02:00
Milanka Ringwald
b63c1ba887 sbc decoder moved to src/classic 2016-07-07 13:21:10 +02:00
Matthias Ringwald
4ea196a400 btstack_run_loop: don't return of void function 2016-07-07 11:26:05 +02:00
Matthias Ringwald
7c959318bb fix warnings related to potential loss of precision for integer conversions 2016-07-05 11:31:53 +02:00
Matthias Ringwald
45718b6f18 hfp: avoid null pointer dereference if indicator does not exist 2016-07-05 11:31:09 +02:00
Matthias Ringwald
bb015fa70d bnep: avoid 'may be unitialized when used' in clang 2016-07-05 11:22:55 +02:00
Matthias Ringwald
70c2750807 rfcomm: avoid null-pointer dereference for invalid rfcomm_cid 2016-07-05 11:07:09 +02:00
Matthias Ringwald
274dad91fe hci: fix null dereference in hci_send_cmd_packet when hci connection when table is full (II) 2016-07-04 14:21:01 +02:00
Matthias Ringwald
7224be7e77 clean ups and fixes to avoid warnings from static code analyzer 2016-07-01 14:48:49 +02:00
Matthias Ringwald
95d2c8f48d l2cap: avoid potential null dereference in l2cap_rtx_timeout 2016-07-01 11:30:53 +02:00
Matthias Ringwald
2deddeced7 hci: fix null dereference in hci_send_cmd_packet when hci connection table is full 2016-07-01 11:28:08 +02:00
Milanka Ringwald
6a7f44bd8d add codec exchanged into event 2016-06-29 17:12:36 +02:00
Milanka Ringwald
41d0c87b0d remove printf 2016-06-29 14:52:45 +02:00
Milanka Ringwald
60ebb071aa remove printf 2016-06-29 12:05:02 +02:00
Matthias Ringwald
ae4aa2b6a5 sm: reduce mbedtls heap to less than 800 bytes for 32-bit CPUs. Use mbedtls_mpi_lset instead of mbedtls_mpi_read_string 2016-06-29 11:03:11 +02:00
Matthias Ringwald
aa7d4d9c48 sm: store non-truncated LTK in setup->sm_local_ltk for cross transport key derivation - see E6405 2016-06-27 17:12:51 +02:00
Matthias Ringwald
b18300a6ef sm: store non-truncated LTK in setup->sm_local_ltk for cross transport key derivation - see E6405 2016-06-27 17:11:08 +02:00
Matthias Ringwald
893e933318 sm: truncate LTK for SC as needed 2016-06-27 16:55:29 +02:00
Matthias Ringwald
f33ad81deb sm: add le_device_db_set_local_addr and call with local address 2016-06-27 15:58:58 +02:00
Matthias Ringwald
778b6aad6d sm: fix SC key exchange (regression from d747193) 2016-06-27 15:57:46 +02:00
Matthias Ringwald
d2e9012210 sm: use ltk from db for sc in initiator role 2016-06-27 14:56:08 +02:00
Matthias Ringwald
02bdfbf8cb util: implement log_info_key 2016-06-27 14:38:35 +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
549ad5d20f sm: on LTK request, if ediv or rand no null, start calculating LTK for legacy pairing. If ediv or rand not null, check le device db for LTK if SC are enabled on LTK 2016-06-24 17:24:35 +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
78f44163d6 sm: remove temp hack to store LTK for SC 2016-06-23 23:26:25 +02:00
Matthias Ringwald
613da3de46 sm: store LTK in db for SC. document key management strategy 2016-06-23 12:57:43 +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
55597469a7 gap: extracted gap_store_link_key_for_bd_addr 2016-06-20 12:08:59 +02:00
Matthias Ringwald
4dfd504ad1 sm: sm_cmac_start -> sm_cmac_signed_write 2016-06-20 11:34:56 +02:00
Milanka Ringwald
df327ff315 hfp ag: update choose codec 2016-06-16 15:12:52 +02:00
Matthias Ringwald
76427ed5d9 sm: drop single event handler 2016-06-16 12:35:03 +02:00
Matthias Ringwald
44e8d9ac69 sm: send/receive keypress notifications 2016-06-16 12:33:16 +02:00
Matthias Ringwald
3d7fe1e922 sm: send/receive keypress notifications 2016-06-16 12:32:12 +02:00
Matthias Ringwald
31c0948871 sm: fix compile without sc 2016-06-10 13:52:12 +02:00
Matthias Ringwald
a3aba2f99a sm: fix compile 2016-06-10 13:46:47 +02:00
Matthias Ringwald
b41539d54f sm: generate random number to display for SC with PK_RESP_INPUT generation mode 2016-06-09 23:19:11 +02:00
Matthias Ringwald
2e6217a04c sm: fix ec key generation and logging 2016-06-09 22:53:44 +02:00
Matthias Ringwald
0b8af2a5ee sm: fix legacy pairing trigger user response as responder 2016-06-09 22:25:17 +02:00
Matthias Ringwald
b8f36d6c46 Merge branch 'develop' into le-secure-connection 2016-06-09 21:44:03 +02:00
Matthias Ringwald
a83a05444b sm: use correct ec test key, reduce memory to 1500 bytes 2016-06-09 15:07:53 +02:00