host: refactor connection management

* updated `WaitConnection`:
  - empty request is now forbidden (ie. wait for any connection).
  - returns the same connection only once.
* removed `WaitLeConnection`, `{Start,Stop}Advertising`:
  - this 3 APIs are replaced with `rpc Advertise(..) -> (stream Connection)`
  - `Advertise` is stream and can be canceled at any time (which shall
    stop advertising).
  - `Advertise` stream incoming connection.
  - When advertising as `non-connectable` no connections
    will ever be streamed.
* removed `Get{Le,}Connection`:
  - to avoid user having mutilple instance of the same handle to a
    connection, it was decided to remove this interfaces.
* removed `GetRemoteName`:
  - unused and error prone API.

Change-Id: I835e1889264344b6929634e42c4ba32c9026d83c
1 file changed
tree: dbc6d69545c23a160f40a63c4d3fb91c2cf8abb3
  1. doc/
  2. pandora/
  3. python/
  4. .gitignore
  5. CONTRIBUTING.md
  6. LICENSE
  7. README.md
README.md

Pandora Bluetooth test interfaces

Pandora Bluetooth test interfaces are Remote Procedure Call (RPC) interfaces exposed to testing tools to trigger behaviors within a Bluetooth stack under test. They are built using the following requirements and style guide.

A test interface is defined for each Bluetooth profile.

Supported profiles

  • Host: interfaces for general methods (pairing, connection...).
  • A2DP: Advanced Audio Distribution Profile.