- 26 Oct, 2016 1 commit
-
-
gitbuildkicker authored
-
- 25 Oct, 2016 1 commit
-
-
Jakub Pawlowski authored
Operation on characteristics/descriptors shouldn't access GATT database when it's executed. This could happen while service rediscovery is in progress. Bug: 32240759 Test: connect to HID device Change-Id: Ie2b6e6b451456204b1cea1e500df9a0ff949a9ef (cherry picked from commit d8f09d07)
-
- 23 Oct, 2016 1 commit
-
-
gitbuildkicker authored
-
- 20 Oct, 2016 1 commit
-
-
Andre Eisenbach authored
Bug: 29998634 Test: manual Change-Id: Icd9a76a065de147372df060c0b9555c75bcf46bc
-
- 05 Oct, 2016 1 commit
-
-
gitbuildkicker authored
-
- 03 Oct, 2016 1 commit
-
-
Jakub Pawlowski authored
If the GATT service cache was successfully loaded from a file, the state must be reset to idle. Bug: 31175159 Change-Id: I92ebf1bec9d2e7467d7412b41923614ec5a13b6d
-
- 29 Sep, 2016 1 commit
-
-
gitbuildkicker authored
-
- 28 Sep, 2016 2 commits
-
-
gitbuildkicker authored
-
Andre Eisenbach authored
Currently after 100 devices are added to the device security database, any subsequent LE connection to a newly discovered LE device address will fail as entries in the security record database are not reused. This patch removes a device record if the device itself is removed and also ensures that the oldest device security record is deleted if the limit is reached to ensure a new record can be allocated. Bug: 31625900 Change-Id: I22f6c82c64a9a9bfb2a16d79182903e5aa011355
-
- 26 Sep, 2016 1 commit
-
-
Jakub Pawlowski authored
Bug: 31637098 Change-Id: Ib2545e7827bd338d2e22c88836818fce23e7a057
-
- 25 Sep, 2016 1 commit
-
-
gitbuildkicker authored
-
- 23 Sep, 2016 1 commit
-
-
chaoyu.x.wu authored
If enable the "connection parameters update" during GATT discovery, it may cause some device connection failure due to connection timeout. Since the the "connection parameter update" is enabled again when GATT discovery completed, remove the enable of "connection parameter update" after SMP complete to fix the issue. This issue was already fixed in commit 2d41fe1c, but then it was re-introduced in commit 444a8da8, which also removed comment explaining the issue, added back in this patch. Bug: 29060797 Change-Id: I42b0b36056821c30d887484e22bfcbd04ea7ca03 (cherry picked from commit 1ec17e06)
-
- 18 Sep, 2016 1 commit
-
-
gitbuildkicker authored
-
- 16 Sep, 2016 7 commits
-
-
Pavlin Radoslavov authored
If the received HCI type is unknown, then log an event and abort. The most likely reason for that to happen is if the UART stream is corrupted. We cannot recover from that, and there is not much else we can do. Also, fixed a bug in an HCI-related unit test that was exposed by the above change. Bug: 31432127 Change-Id: Ia888c485f177af4962268bf8f593b27fd7a4b080 (cherry picked from commit 27ec0c78) (cherry picked from commit e1c8ed17)
-
Pavlin Radoslavov authored
If the received HCI type is unknown, then log an event and abort. The most likely reason for that to happen is if the UART stream is corrupted. We cannot recover from that, and there is not much else we can do. Also, fixed a bug in an HCI-related unit test that was exposed by the above change. Bug: 31432127 Change-Id: Ia888c485f177af4962268bf8f593b27fd7a4b080 (cherry picked from commit 27ec0c78)
-
Jakub Pawlowski authored
LE related code should not use BTM_ACL_IS_CONNECTED, because it assumes classic transport. In this particular case, connection created event, which was result of advertising, caused cancellation of "LE Create Connection". Attempt to send "LE Create Connection Cancel" was checking if connection is already established, but was failing to do so becuase BTM_ACL_IS_CONNECTED was used instead of btm_bda_to_acl with proper transport. This caused just created connection to be dropped. Bug: 31442085 Change-Id: Ia345a3d00e8567160f4abb2a31c4130ee69d67a3 (cherry picked from commit f5566938)
-
Andre Eisenbach authored
-
Jakub Pawlowski authored
Cancelling discovery was not handled properly in btif_dm_search_services_evt and was causing crashes due to assert in default case. Bug: 31442085 Change-Id: If9a2c203730c9b06df5ff8d8e251f0c35addcb82 (cherry picked from commit 7df43240)
-
Jakub Pawlowski authored
Accessing p_lcb must be guarded with NULL check. Bug: 31442085 Change-Id: I0f6e3f8e0247c5e8946c4d098f8a3ba442f5fb28 (cherry picked from commit b4458c93)
-
Andre Eisenbach authored
Currently, starting an LE batch scan are not added to the stack internal device database, which means that the address type and device type needed for a connection are not available. This patch ensures that devices found during an LE scan are added to the device database to ensure connection attempts will succeed. Bug: 31309376 Change-Id: Ic52d7eaa03d17dcbbd848af9140038bc84ea3bd0 (cherry picked from commit e0295e2c)
-
- 07 Sep, 2016 1 commit
-
-
gitbuildkicker authored
-
- 06 Sep, 2016 1 commit
-
-
pkanwar authored
Change-Id: Ia80cb82c833df341f832d2ab8cc71a868e2c8f5e
-
- 04 Sep, 2016 1 commit
-
-
gitbuildkicker authored
-
- 01 Sep, 2016 1 commit
-
-
Jakub Pawlowski authored
This patch fixes crashes on reconnection to HID device. All those issues are already fixed in AOSP. Bug: 31221398 Change-Id: I43b64d0b11b1f548cb373332777ea92d8a075466
-
- 29 Aug, 2016 8 commits
-
-
Andre Eisenbach authored
am: 88cc389d Change-Id: I6c325fa710adfefbbe3e448ebc28a0777253d5d3
-
Andre Eisenbach authored
am: f7d632a2 Change-Id: I6cf3f7c2579e0ef395142aa3165c1e608e7e2fbc
-
Andre Eisenbach authored
am: fb309b3c Change-Id: Ib7494cc47ff0e93f7f20a12dc79695697d2eecf0
-
Andre Eisenbach authored
am: d2a37eff Change-Id: I87c0ba767d7dcf91cfd6cb4903fea4efd6df392b
-
TreeHugger Robot authored
-
- 23 Aug, 2016 4 commits
-
-
Jakub Pawlowski authored
am: 970d9d18 Change-Id: Iaff1375e619409afe9570b6fb79867070a339902
-
Jakub Pawlowski authored
am: aab757d3 Change-Id: Id9397aa59aae3570821c9838d428541cfb6a878a
-
Jakub Pawlowski authored
This patch creates new connection mode - opportunistic connection. When such connection is made, no call to gatt_update_app_hold_link_status will be made when it's started. This means that connecting and disconnecting in this mode won't trigger disconnect timer. When other, app creates regular connection and then disconnects, the physical connection might get disconnected. Opportunistic connection is used only for code setting CCC right now. Bug: 30186455 Change-Id: Ia5be7682b6c3dcb4993060f818dee603aef3e19e
-
Jakub Pawlowski authored
Right now, in GATT_Deregister we make a call to gatt_update_app_use_link_flag, which might result in a call to GATT_SetIddleTimeout on links that this client was never connected to. In order to fix that, we must check if gatt_update_app_hold_link_status made any changes to p_tcb->app_hold_link. If not, then skip updating the timer. Bug: 30186455 Change-Id: I6f18ec7fe4e80e048adc9e360cae703b7d64d62a
-
- 21 Aug, 2016 1 commit
-
-
gitbuildkicker authored
-
- 19 Aug, 2016 1 commit
-
-
TreeHugger Robot authored
-
- 18 Aug, 2016 2 commits
-
-
Jakub Pawlowski authored
Right now, in GATT_Deregister we make a call to gatt_update_app_use_link_flag, which might result in a call to GATT_SetIddleTimeout on links that this client was never connected to. In order to fix that, we must check if gatt_update_app_hold_link_status made any changes to p_tcb->app_hold_link. If not, then skip updating the timer. Change-Id: I6f18ec7fe4e80e048adc9e360cae703b7d64d62a
-
Jakub Pawlowski authored
This patch creates new connection mode - opportunistic connection. When such connection is made, no call to gatt_update_app_hold_link_status will be made when it's started. This means that connecting and disconnecting in this mode won't trigger disconnect timer. When other, app creates regular connection and then disconnects, the physical connection might get disconnected. Opportunistic connection is used only for code setting CCC right now. Bug: 30186455 Change-Id: Ia5be7682b6c3dcb4993060f818dee603aef3e19e
-