Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f2452034 authored by Jack He's avatar Jack He
Browse files

L2CAP: Classic fixed channel reference counting

* Add a mechanism to disconnect ACL after a link is idle for kClassicLinkIdleDisconnectTimeout
  seconds. The current setting is 20.
* Add Acquire() and Release() method to ClassicFixedChannel for user to
  indicate if a fixed channel should hold the current ACL link or should
  it be oportunistic
* Implemented methods to register for disconnection callbacks
* Add tests to verify fixed channel acquire/release and register
  disconnction callback methods
* Add tests to verify classic link idle timeout disconnect methods

Bug: 138261142
Test: bluetooth_test_gd
Change-Id: I78129afb1b988311c56019f87cbb3f78e9a08cc5
parent 84ef6ba9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment