bluetooth_inventory

command
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2026 License: CC0-1.0 Imports: 9 Imported by: 0

Documentation

Overview

Enumerate paired/bonded Bluetooth devices and query adapter info.

Demonstrates:

  • IBluetoothManager: GetState
  • RegisterAdapter -> IBluetooth: GetName, GetBondedDevices, GetSupportedProfiles, GetRemoteName, GetRemoteAlias, GetBondState
  • AttributionSource for authenticated calls

Build:

GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -o build/bluetooth_inventory ./examples/bluetooth_inventory/
adb push build/bluetooth_inventory /data/local/tmp/ && adb shell /data/local/tmp/bluetooth_inventory

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL