【高通平台】如何配置高通工具写号后,设置界面可以正确读取到 |
您所在的位置:网站首页 › QualcommTool-eMMC-v32zip › 【高通平台】如何配置高通工具写号后,设置界面可以正确读取到 |
问题概要:
1. 连接写号工具Tinno Qualcomm Write Tool V2.1.0.3 2. 写入bt地址 3.查看手机里显示的BT值与实际写入的一样 配置分析:查看代码: 可以知道,当须要从NV去读取Bluetooth的mac地址时,代码走到如下code这里,但是由于高通默认代码中persist.vendor.bluetooth.modem_nv_support没有配置成true,所以会导致上层读取蓝牙地址的时候不会走到这里 如果想要读取正确的写入的NV地址,不是系统生成的NV地址,可以将persist.vendor.bluetooth.modem_nv_support在device/qcom/common/common64.mk中配置成true,或者对应的项目中mk文件配置也可以 vendor/qcom/proprietary/bluetooth/hidl_transport/bt/1.0/default/bluetooth_address.cpp 273 // Check if address is stored @ Modem NV 274 if ((!valid_bda)&& property_get("persist.vendor.bluetooth.modem_nv_support", 275 property, "false") && (strcmp(property, "true") == 0)) 276 { 277 ALOGD("%s: QMI initialization START ",__func__); 278 if(!tried_reading_modemnv_) { 279 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |