• Home
Name Date Size #Lines LOC

..--

connect/03-May-2024-171112

discovery/03-May-2024-221147

dumpsys/03-May-2024-7433

nop/03-May-2024-7130

pairing/03-May-2024-6941

read/03-May-2024-18596

scan/03-May-2024-15194

sdp/03-May-2024-285177

tools/03-May-2024-85

Android.bpD03-May-20243.4 KiB143138

README.mdD03-May-20241 KiB3832

bt_property.ccD03-May-20244.4 KiB124101

bt_property.hD03-May-2024244 159

dump.hD03-May-2024469 2416

get_options.ccD03-May-20245.5 KiB200161

get_options.hD03-May-20241.8 KiB7041

handler.ccD03-May-20241.3 KiB4723

handler.hD03-May-20241 KiB4219

headless.ccD03-May-202410.9 KiB308232

headless.hD03-May-20243.7 KiB13697

interface.hD03-May-20244 KiB122102

log.ccD03-May-20241.5 KiB4925

log.hD03-May-20244.1 KiB8956

main.ccD03-May-20244.7 KiB154107

messenger.ccD03-May-20246.1 KiB196141

messenger.hD03-May-20241 KiB4930

property.ccD03-May-20242.4 KiB6738

property.hD03-May-20243.9 KiB148104

stopwatch.hD03-May-20241.5 KiB5228

timeout.hD03-May-2024693 223

util.ccD03-May-20241 KiB3514

util.hD03-May-2024644 181

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 ${ANDROID_PRODUCT_OUT}/system/bin/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 --loop=10 nop
25    ```
26    [1102/174836.145418:INFO:btif_config_cache.cc(67)] BtifConfigCache, capacity: 10000
27    Nop loop:0
28    Nop loop:1
29    Nop loop:2
30    Nop loop:3
31    Nop loop:4
32    Nop loop:5
33    Nop loop:6
34    Nop loop:7
35    Nop loop:8
36    Nop loop:9
37    ```
38