Bluetooth: Add pairing and connection method in bluetooth server

Add methods to let Cros device pair legacy device with a known pin code.
Also add methods to connect/disconnect/remove a device.

BUG=chromium:476860
TEST=connect to bluetooth_device_xmlrpc_server and call the methods.

Change-Id: Ie6bc02815db66d44fb8f3bea71f07b773bc7e05b
Reviewed-on: https://chromium-review.googlesource.com/266421
Reviewed-by: Scott Remnant <keybuk@chromium.org>
Commit-Queue: Cheng-Yi Chiang <cychiang@chromium.org>
Tested-by: Cheng-Yi Chiang <cychiang@chromium.org>
1 file changed