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

..--

adapter/25-Apr-2025-12976

connect/25-Apr-2025-192129

discovery/25-Apr-2025-10858

dumpsys/25-Apr-2025-6524

mode/25-Apr-2025-179119

nop/25-Apr-2025-6927

pairing/25-Apr-2025-6537

read/25-Apr-2025-18491

scan/25-Apr-2025-12978

sdp/25-Apr-2025-242135

tools/25-Apr-2025-85

utils/25-Apr-2025-200149

Android.bpD25-Apr-20254.5 KiB167163

README.mdD25-Apr-20251 KiB3832

android_namespace.ccD25-Apr-2025732 203

bt_property.hD25-Apr-2025319 1710

bt_stack_info.ccD25-Apr-20251.8 KiB6036

bt_stack_info.hD25-Apr-2025864 3412

config.ccD25-Apr-2025985 3310

dump.hD25-Apr-2025469 2416

get_options.ccD25-Apr-20254.9 KiB171137

get_options.hD25-Apr-20251.6 KiB6637

handler.ccD25-Apr-20251.3 KiB4924

handler.hD25-Apr-20251 KiB4219

headless.ccD25-Apr-202511.3 KiB310228

headless.hD25-Apr-20253.4 KiB12688

interface.hD25-Apr-20257.8 KiB213159

log.ccD25-Apr-20251.1 KiB3411

log.hD25-Apr-20253.9 KiB7644

main.ccD25-Apr-20254.9 KiB14497

messenger.ccD25-Apr-20254.6 KiB14396

messenger.hD25-Apr-20251.6 KiB5929

property.ccD25-Apr-20255.7 KiB12292

property.hD25-Apr-20256.1 KiB202151

pushme.shD25-Apr-2025368 135

stopwatch.hD25-Apr-20251.4 KiB5026

text.ccD25-Apr-20251.3 KiB4422

text.hD25-Apr-2025823 234

timeout.hD25-Apr-2025693 223

util.ccD25-Apr-20251 KiB3514

util.hD25-Apr-2025644 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