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
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.