[Nearby] Create and use Bluetooth Mojo ServerSocket.
Implement bluetooth::mojom::ServerSocket and a corresponding method to create one, bluetooth::mojom::Adapter::CreateRfcommService(). Use this new interface to implement a concrete location::nearby::api::BluetoothServerSocket, created via the newly implement BluetoothClassicMedium::ListenForService(). api::BluetoothClassicMedium and api::BluetoothServerSocket are both synchronous interfaces, so these new implementations consume the synchronous signatures of their respective dependencies. Please see design doc go/nearby-chrome-bt for more details. Bug: b:154849933, b:157484631 Change-Id: I2b5fbe053fb9f38fbf2a999ff8ad4791a7d227fc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2358129 Commit-Queue: Ryan Hansberry <hansberry@chromium.org> Reviewed-by:Reilly Grant <reillyg@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Reviewed-by:
James Vecore <vecore@google.com> Reviewed-by:
Alex Chau <alexchau@chromium.org> Cr-Commit-Position: refs/heads/master@{#800008}
Showing
Please register or sign in to comment