commit | 6af6ff71641f74f6d090fb8a4030f39cbb462b14 | [log] [tgz] |
---|---|---|
author | Sharvil Nanavati <sharvil@google.com> | Mon Jan 19 10:03:08 2015 -0800 |
committer | Andre Eisenbach <eisenbach@google.com> | Mon Mar 16 16:51:42 2015 -0700 |
tree | 3cb64432263308cceeece0193f7011be29bdd24b | |
parent | 2377309a2e5c3999528bbd7e3ed289a88c99b80b [diff] |
Add a new l2cap_client class. The code to negotiate an L2CAP connection is currently scattered and duplicated throughout the codebase. Each profile that uses L2CAP has its own explicit or implicit state machine to go establish a connection and go through the handshake. This class is intended to consolidate that duplicated code and provide a usable API for L2CAP client connections.