BT读出来MAC地址值跟NV不一样

客户要求WIFI BT mac写在NV里面,工具如附件。 我按照如下步骤测试,

1, 格式化下载工厂版本(带efs)

2, 写入WIFI和BT mac , 开机后发现WIFI显示正常和写入的一致, 设置里BT mac 没有生效显示其他默认MAC

3, 正常升级带persist软件, wifi mac没有被覆盖显示正常,设置里 BT mac显示还是不对

解决:

1:BT NV的地址是否正确,是否有写入成功(提供下NV地址)。
2:persist.vendor.bluetooth.modem_nv_support是否有设定为true?

修改:

device/qcom/common64.mk
persist.vendor.bluetooth.modem_nv_support=true \

diff --git a/common64.mk b/common64.mk
--- a/common64.mk
+++ b/common64.mk
@@ -22,6 +22,7 @@ PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.radio.custom_ecc=1 \
persist.vendor.radio.rat_on=combine \
persist.backup.ntpServer=0.pool.ntp.org \
+ persist.vendor.bluetooth.modem_nv_support=true \
sys.vendor.shutdown.waittime=500 \

猜你喜欢

转载自blog.csdn.net/sdrgtywretyeruet/article/details/115312632