[Nearby] Create concrete BluetoothClassicMedium and BluetoothDevice.
Partially implement a concrete location::nearby::api::BluetoothClassicMedium, using the shared bluetooth::mojom::Adapter reference in Chrome's Nearby Connections. Also fully implement a concrete location::nearby::api::BluetoothDevice, constructed using the device info returned during device discovery in BluetoothClassicMedium. Only device discovery methods are implemented in this CL. Subsequent CLs will implement methods to create outgoing, or listen for incoming, BluetoothSocket connections. api::BluetoothClassicMedium is a synchronous interface, so this CL converts the following bluetooth::mojom::Adapter methods it consumes to [Sync]: SetClient() and StartDiscoverySession(). Please see design doc go/nearby-chrome-bt for more details. Bug: b:154849033, b:158848873 Change-Id: If603fb716421fdabd756f3ff34b58a69f64f6352 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2314024Reviewed-by:Daniel Cheng <dcheng@chromium.org> Reviewed-by:
James Vecore <vecore@google.com> Reviewed-by:
Reilly Grant <reillyg@chromium.org> Reviewed-by:
Alex Chau <alexchau@chromium.org> Commit-Queue: Ryan Hansberry <hansberry@chromium.org> Cr-Commit-Position: refs/heads/master@{#796557}
Showing
Please register or sign in to comment