Bluetooth

The Cuttlefish Bluetooth implementation is supported by rootcanal and can be controlled with the Web UI command line console.

In the console, there are several commands that allow for the control of Bluetooth on the guest device:

Command Description
list List current devices and phys
add DEVICE_TYPE [ARGS] Create new device of type DEVICE_TYPE
del DEVICE_INDEX Delete a device
add_phy PHY_TYPE Add new phy with PHY_TYPE
del_phy PHY_INDEX Delete a phy
add_device_to_phy DEVICE_INDEX PHY_INDEX Add a device to phy
del_device_from_phy DEVICE_INDEX PHY_INDEX Delete a device from phy
add_remote HOSTNAME PORT PHY_TYPE Add a remote Rootcanal as device and register it to phy
Device type and args
beacon [MAC_ADDRESS] [ADVERTISE_INTERVAL]
scripted_beacon [MAC_ADDRESS] [CONFIG_PATH] [EVENTS_PATH]
keyboard [MAC_ADDRESS] [ADVERTISE_INTERVAL]
loopback [MAC_ADDRESS] [ADVERTISE_INTERVAL]
sniffer