我正在 Android 上调试蓝牙芯片,默认Bluetooth应用程序会干扰用 C 编写的本机测试工具e.g scotest,hstest。
所以我想要的是Android Java Bluetooth完全禁用该服务,但不禁用本机 blueZ 服务i.e not being able to interact with Bluetooth from GUI but only from adb,并确保除了我启动的本机工具之外根本没有运行蓝牙活动。
我正在 Android 上调试蓝牙芯片,默认Bluetooth应用程序会干扰用 C 编写的本机测试工具e.g scotest,hstest。
所以我想要的是Android Java Bluetooth完全禁用该服务,但不禁用本机 blueZ 服务i.e not being able to interact with Bluetooth from GUI but only from adb,并确保除了我启动的本机工具之外根本没有运行蓝牙活动。