8354 Commits

Author SHA1 Message Date
Matthias Ringwald
cce308d626 gatt_client: stop timer on disconnect - fixes use after free / crash 2018-09-11 08:32:03 +02:00
Matthias Ringwald
eea99214d9 l2cap: evaluate 'can send now' on HCI Disconnect as ACL buffers in Bluetooth Controller have been used for the closed connection are freed implicitly 2018-09-11 08:27:33 +02:00
Matthias Ringwald
9201a494d1 3rd-party: add public domain md5 library 2018-09-07 17:42:41 +02:00
Matthias Ringwald
f523f4785b stm32-l053r8-em9304: added gatt_heart_rate_client 2018-09-07 17:13:21 +02:00
Matthias Ringwald
e0a14df4b2 rfcomm: trigger l2cap request to send on rfcomm credits when client is waiting to send 2018-09-07 15:16:31 +02:00
Matthias Ringwald
96cb50ec30 example/spp_flowcontrol: fix compile 2018-09-07 12:25:49 +02:00
Matthias Ringwald
e44319602d rfcomm: more verbose debug output 2018-09-06 18:26:11 +02:00
Matthias Ringwald
6bc9fa5e1d hci: fix compile without ENABLE_CLASSIC 2018-09-06 17:51:55 +02:00
Matthias Ringwald
22a3debe3f update changelog 2018-09-06 17:45:02 +02:00
Matthias Ringwald
229331c6bf hci: free hci connection struct on error reported in hci command status event 2018-09-06 17:42:59 +02:00
Matthias Ringwald
0bbba85b59 hci: extract hci_handle_connection_failed 2018-09-06 16:45:09 +02:00
Matthias Ringwald
532f91a583 hci: fix regression from f5e5741d1 that prevents creating connections 2018-09-05 16:07:55 +02:00
Matthias Ringwald
068b8592cd hci: emit transport packet sent for some missing synchronous transport cases and on errors 2018-09-05 15:49:26 +02:00
Matthias Ringwald
e2d2248764 hci: call hci_release_packet_buffer() instead of setting it directly 2018-09-05 15:45:14 +02:00
Matthias Ringwald
fd43c0e028 hci: extract hci_emit_transport_packet_sent() 2018-09-05 15:43:15 +02:00
Matthias Ringwald
f5e5741d14 hci: return -1 if hci_create_connection was not sent to transport layer in hci_send_cmd_packet 2018-09-05 15:18:14 +02:00
Matthias Ringwald
bfea0222f7 hci: move packet buffer release for synchronous connections up into hci_send_cmd_va_arg 2018-09-05 15:09:00 +02:00
Matthias Ringwald
0729a915d3 pbap: send disconnect request before closing connection 2018-09-05 14:26:29 +02:00
Matthias Ringwald
645e6347ac goep_client: move l2cap-related code into ENABLE_GOEP_L2CAP 2018-09-05 08:18:21 +02:00
Matthias Ringwald
8916d6f773 goep_client: use separate buffer for l2cap 2018-09-05 08:18:21 +02:00
Matthias Ringwald
c81ac70318 goep_client: cuse l2cap ertm channel 2018-09-05 08:18:21 +02:00
Matthias Ringwald
607adee94a goep_client: implement sdp query to get l2cap psm, implement l2cap functionality 2018-09-05 08:18:21 +02:00
Matthias Ringwald
057d63da77 goep_client: implement l2cap variants 2018-09-05 08:18:21 +02:00
Matthias Ringwald
eef3970d70 goep_client: refactor goep packet generation 2018-09-05 08:18:21 +02:00
Matthias Ringwald
bedf64e313 goep_client: refactor rfcomm packet handler 2018-09-05 08:18:21 +02:00
Matthias Ringwald
2ec948c399
Merge pull request #169 from zhadaolong/win-var-type
btstack_run_loop_windows: fix timeout_ms type
2018-09-03 21:09:57 +02:00
Matthias Ringwald
ece97caeac l2cap: track address of outgoing classic connections and treat error as connection failure 2018-09-03 19:20:27 +02:00
zhadaolong
c4a8fd4568 run_loop_windows timeout_ms type 2018-09-03 11:15:37 +08:00
Matthias Ringwald
661115ee91 winusb: log messages during usb_close 2018-08-30 17:16:58 +02:00
Matthias Ringwald
48167703f1 rfcomm: delete obsolete debut output 2018-08-30 10:33:55 +02:00
Matthias Ringwald
712999cdc3 daemon: remove gatt client helper on disconnect again 2018-08-29 11:16:58 +02:00
Matthias Ringwald
8e7044f9a8 avdtp: allow to set preferred sampling frequency for outgoing sbc streams 2018-08-28 14:23:50 +02:00
Matthias Ringwald
45dc8c25f9 avdtp: remove unsed avdtp_initialize_sbc_configuration_storage 2018-08-28 13:52:23 +02:00
Matthias Ringwald
abdc9fb59b gatt_client: ENABLE_GATT_FIND_INFORMATION_FOR_CCC_DISCOVERY use ATT Find Information instead of Read By Type 2018-08-27 16:35:28 +02:00
Matthias Ringwald
84536330f2 att: add warning to update ENABLE_ATT_DELAYED_READ_RESPONSE to ENABLE_ATT_DELAYED_RESPONSE 2018-08-27 11:34:34 +02:00
Matthias Ringwald
56c3a3479d att: support delayed write 2018-08-27 11:31:11 +02:00
Matthias Ringwald
4f8235e619 att: ENABLE_ATT_DELAYED_READ_RESPONSE -> ENABLE_ATT_DELAYED_RESPONSE, example/att_delayed_read_response.c -> example/att_delayed_response.c 2018-08-27 11:09:39 +02:00
Matthias Ringwald
beb202884a att: ENABLE_ATT_DELAYED_READ_RESPONSE -> ENABLE_ATT_DELAYED_RESPONSE, example/att_delayed_read_response.c -> example/att_delayed_response.c 2018-08-27 11:01:19 +02:00
Matthias Ringwald
1cd21c0571 daemon/java: hexdump received notification in LEStreamer 2018-08-24 17:08:04 +02:00
Matthias Ringwald
24047dd67d daemon: register for gatt notifications when writing ccc 2018-08-24 17:04:29 +02:00
Matthias Ringwald
31ee742e25 daemon/java: add LEStreamerClient 2018-08-24 16:37:42 +02:00
Matthias Ringwald
fccb5f315e sm: fix event format of SM_EVENT_IDENTITY_CREATED, fix SM_EVENT_IDENTITY_CREATED and SM_EVENT_IDENTITY_RESOLVING_SUCCEEDED 2018-08-24 15:51:05 +02:00
Matthias Ringwald
616878112b example/le_streamer: undo accidental commit that required encrypted connection 2018-08-24 15:29:56 +02:00
Matthias Ringwald
8d2f5935bc daemon: emit gatt query complete if gatt_client_write_client_characteristic_configuration fails 2018-08-24 14:39:41 +02:00
Matthias Ringwald
6b2d59ef27 posix: flush tlv file after write 2018-08-24 14:33:40 +02:00
Matthias Ringwald
2370d9c182 daemon: use '-' for tlv db filename 2018-08-24 14:03:19 +02:00
Matthias Ringwald
b6a1d7313d daemon: use . as storage path in windows 2018-08-24 11:04:49 +02:00
Matthias Ringwald
fb4ddcf3a9 daemon: use current dir on windows, enable le secure connections 2018-08-24 10:56:45 +02:00
Matthias Ringwald
ddd7eb8cef btstack_crypto: improve warning 2018-08-24 10:56:24 +02:00
Matthias Ringwald
a4fe646795 example: register for events after setting up the stack, register for hci events after sm_init() 2018-08-24 10:03:14 +02:00