1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hmz007 6d24f2138b
Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56)
3 years ago
..
connect Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
dumpsys Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
nop Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
pairing Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
read Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
sdp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
Android.bp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
README.md Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
get_options.cc Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
get_options.h Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
headless.cc Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
headless.h Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
interface.h Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
main.cc Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago

README.md

bluetooth headless

A device-side executable that consists of a binary executable

driving the Android libbluetooth libraries.

Requirements: 1. Android installation, 2. Root access to adb connected Android device.

Build: Source, lunch and build as typical Android target for selected device and architecture. cd $ANDROID_BUILD_TOP . build/envsetup.sh && lunch make bt_headless

Install: Push the binary to an executable area on target device. adb push out/target/product/<device..arch>/bt_headless/bt_headless /data/data/.

Prepare: Ensure the system is queisced to prevent resource conflicts from the bluetooth process. adb shell stop

Run: Script or directly execute the target file. adb shell /data/data/bt_headless --flags=INIT_logging_debug_enabled_for_all=true,INIT_gd_acl=true nop