5774 Commits

Author SHA1 Message Date
Matthias Ringwald
28a0332dbe hci: discard ACL fragment when HCI connection is gone 2016-07-29 10:45:01 +02:00
Matthias Ringwald
a2908aa0e7 linked_list: add tests for linked_list_count and fix off-by one 2016-07-22 19:51:32 +02:00
Matthias Ringwald
9620f7c419 pts: fix compile warning in ble_central_test 2016-07-22 17:19:48 +02:00
Matthias Ringwald
020654536a libusb: add USB path to packet log file name 2016-07-22 17:19:05 +02:00
Matthias Ringwald
a4c4a5d697 libusb: parse -u 11-22-33 as USB path, too 2016-07-22 16:43:54 +02:00
Matthias Ringwald
7ef6a7bbd9 l2cap: drop reason arg for l2cap_decline_connection - only 'no resources' expected 2016-07-17 22:49:15 +02:00
Matthias Ringwald
7e8856ebfd l2cap: return error for l2cap_unregister_service 2016-07-17 22:43:06 +02:00
Matthias Ringwald
e981dfc496 drop HAVE_INIT_SCRIPT from port/*/btstack_config.h as it's not used anymore 2016-07-17 22:38:24 +02:00
Matthias Ringwald
da0fc6cc57 slip encoder: fix compile warning 2016-07-17 21:40:15 +02:00
Matthias Ringwald
c2e1fa6005 hci: provided error code in hardware error callback 2016-07-17 20:58:49 +02:00
Matthias Ringwald
e63eef5d93 cc256x: add command for setting bd addr 2016-07-17 20:53:57 +02:00
Matthias Ringwald
06cd539f41 sm: fix pairing in legacy mode 2016-07-15 17:28:02 +02:00
Matthias Ringwald
26a9b6da53 hci: combine hci_packet_buffer_prefix with hci_packet_buffer into hci_packet_buffer_data and use hci_packet_buffer as pointer to point at pos HCI_OUTGOING_PRE_BUFFER_SIZE 2016-07-14 14:22:24 +02:00
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
Matthias Ringwald
e13e7f54cb libusb: parse -u 11:22:33 as USB path 2016-07-09 16:26:41 +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
Matthias Ringwald
a77ee77c5e libusb: print path for USB dongle 2016-07-08 22:50:35 +02:00
Matthias Ringwald
4ea196a400 btstack_run_loop: don't return of void function 2016-07-07 11:26:05 +02:00
Matthias Ringwald
4d667262e5 wiced: fix build 2016-07-06 14:08:21 +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
5ca1628e7e chipset/cc256x: fix compile for ANT add-on 2016-07-05 11:07:04 +02:00
Matthias Ringwald
42e3fd9c0c Merge branch 'develop' of https://github.com/bluekitchen/btstack into develop 2016-07-04 14:21:10 +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
d4ecd166be wiced: disable packet log 2016-07-04 11:43:32 +02:00
Matthias Ringwald
e7a97f41ef wiced: adapt to changed signature of platform_uart_receive_bytes. make it compatible with 3.3.1, 3.4.0, and 3.5.2 2016-07-04 11:42:13 +02:00
Matthias Ringwald
24ca7397f7 wiced: update to SDK 3.5.2. Not working (no HCI Events yet) 2016-07-01 16:13:05 +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
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
1bf28f67a5 mbedtls: add naive double and add method for ec to safe RAM - used when MBEDTLS_ECP_WINDOW_SIZE == 1 2016-06-29 10:55:40 +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
766515d4f7 test/sm: avoid c++ warning 2016-06-27 16:05:17 +02:00
Matthias Ringwald
9513b6ea90 test/sm: add gap_local_bd_addr 2016-06-27 16:04:27 +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
9ed01c3693 posix: add le_device_db_fs that stores db at /tmp/btstack_le_device_db.txt as basic csv 2016-06-27 15:20:16 +02:00
Matthias Ringwald
b14b15840b more .gitignore 2016-06-27 15:18:38 +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