【发布时间】:2019-05-21 13:45:16
【问题描述】:
我正在开发一个必须向蓝牙芯片组发送 HCI 命令的 AOSP 应用程序。
我发现我可以使用这个接口:https://source.android.com/reference/hidl/android/hardware/bluetooth/1.0/IBluetoothHci
为了使用它,我尝试关注这个页面:https://source.android.com/devices/architecture/hidl-java/index.html
如果我理解得很好,我必须创建一个 Android.mk 文件并放入
LOCAL_STATIC_JAVA_LIBRARIES += android.hardware.bluetooth@1.0
但我不明白怎么做?我还是 AOSP 开发的新手,我该如何使用这个库?
【问题讨论】:
标签: android bluetooth android-source hci