[CrOS MultiDevice] Add HostVerifierOperation.
This class represents an operation for completing the verification step
for the current host device. A HostVerifierOperation instance is meant
to be used for a single verification attempt; if verification needs to
be retried, a new instance should be created for the next attempt.
This class completes the following steps to verify a device:
(1) Call FindEligibleDevices(). This step sends a message to the host
device, which in turn enables background advertising.
(2) Creates a connection to the device using the BLE listener role.
(3) Sends an EnableBetterTogetherRequest message to the host device.
(4) Waits for an EnableBetterTogetherResponse messages to be returned by
the host device.
Bug: 824568
Change-Id: I520ff9388334467831342af4d0e270cb4e351eeb
Reviewed-on: https://chromium-review.googlesource.com/1119466Reviewed-by:
Ryan Hansberry <hansberry@chromium.org>
Commit-Queue: Kyle Horimoto <khorimoto@chromium.org>
Cr-Commit-Position: refs/heads/master@{#572339}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment