commit | e31a0f31fb4b176a3fdafa67930aa42a60e0587c | [log] [tgz] |
---|---|---|
author | uael <uael@google.com> | Fri Feb 10 18:14:03 2023 +0000 |
committer | uael <uael@google.com> | Mon Feb 13 22:48:05 2023 +0000 |
tree | dbc6d69545c23a160f40a63c4d3fb91c2cf8abb3 | |
parent | 2a387134a85c5440486ea40a6c8b3362ec346fa3 [diff] |
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.