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:

CommandDescription
listList current devices and phys
add DEVICE_TYPE [ARGS]Create new device of type DEVICE_TYPE
del DEVICE_INDEXDelete a device
add_phy PHY_TYPEAdd new phy with PHY_TYPE
del_phy PHY_INDEXDelete a phy
add_device_to_phy DEVICE_INDEX PHY_INDEXAdd a device to phy
del_device_from_phy DEVICE_INDEX PHY_INDEXDelete a device from phy
add_remote HOSTNAME PORT PHY_TYPEAdd 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