Starting March 27, 2025, we recommend using android-latest-release
instead of aosp-main
to build and contribute to AOSP. For more information, see Changes to AOSP.
Bluetooth
Stay organized with collections
Save and categorize content based on your preferences.
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 |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-05 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-05 UTC."],[],[]]