The MockPiconetServer implements both the bredr.Profile service and the bredr.ProfileTest service. The server is responsible for routing incoming asynchronous requests from peers in the piconet.
MockPiconetServerInnerhandles all state bookkeeping for the peers in the piconet. There is one
MockPeerobject, identified by a unique PeerId, for every peer. FIDL requests for a specific Peer will be routed to a peer’s
The maximum number of concurrent piconet member requests this server supports. This is chosen to be more than sufficient for most testing scenarios. Typically, we expect test topologies to define 2 piconet members and each will make 1-2 requests.
Forward requests from the
fuchsia.bluetooth.bredr.ProfileTestservice to the request handler.