• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..12-Dec-2023-

connect/H12-Dec-2023-171113

dumpsys/H12-Dec-2023-7634

nop/H12-Dec-2023-7130

pairing/H12-Dec-2023-6941

read/H12-Dec-2023-18596

sdp/H12-Dec-2023-282175

Android.bpH A D12-Dec-20232.1 KiB8381

README.mdH A D12-Dec-2023847 2519

get_options.ccH A D12-Dec-20235.4 KiB196159

get_options.hH A D12-Dec-20231.8 KiB7041

headless.ccH A D12-Dec-20237.6 KiB230170

headless.hH A D12-Dec-20233.6 KiB13696

interface.hH A D12-Dec-2023831 3727

main.ccH A D12-Dec-20232.8 KiB10671

README.md

1##
2## bluetooth headless
3##
4## A device-side executable that consists of a binary executable
5## driving the Android libbluetooth libraries.
6##
7
8Requirements:
9    1. Android installation,
10    2. Root access to adb connected Android device.
11
12Build: Source, lunch and build as typical Android target for selected device and architecture.
13    cd $ANDROID_BUILD_TOP
14    . build/envsetup.sh && lunch <target>
15    make bt_headless
16
17Install: Push the binary to an executable area on target device.
18    adb push out/target/product/<device..arch>/bt_headless/bt_headless /data/data/.
19
20Prepare: Ensure the system is queisced to prevent resource conflicts from the bluetooth process.
21    adb shell stop
22
23Run: Script or directly execute the target file.
24    adb shell /data/data/bt_headless --flags=INIT_logging_debug_enabled_for_all=true,INIT_gd_acl=true nop
25