Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
connect/ | 23-Nov-2023 | - | 171 | 113 | ||
dumpsys/ | 23-Nov-2023 | - | 76 | 34 | ||
nop/ | 23-Nov-2023 | - | 71 | 30 | ||
pairing/ | 23-Nov-2023 | - | 69 | 41 | ||
read/ | 23-Nov-2023 | - | 185 | 96 | ||
sdp/ | 23-Nov-2023 | - | 282 | 175 | ||
Android.bp | D | 23-Nov-2023 | 2.1 KiB | 83 | 81 | |
README.md | D | 23-Nov-2023 | 847 | 25 | 19 | |
get_options.cc | D | 23-Nov-2023 | 5.4 KiB | 196 | 159 | |
get_options.h | D | 23-Nov-2023 | 1.8 KiB | 70 | 41 | |
headless.cc | D | 23-Nov-2023 | 7.6 KiB | 230 | 170 | |
headless.h | D | 23-Nov-2023 | 3.6 KiB | 136 | 96 | |
interface.h | D | 23-Nov-2023 | 831 | 37 | 27 | |
main.cc | D | 23-Nov-2023 | 2.8 KiB | 106 | 71 |
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