找回密码
 立即注册

使用微信账号登录

只需一步,快速开始

楼主: basketcase

[QCC3系列] 第一次发帖,来个QCC配置读取工具

[复制链接]
连续签到天数:1天
签到总天数:2540天
签到总奖励:80658金币
发表于 2020-5-15 11:30:29 | 显示全部楼层
本帖最后由 shubiao66 于 2020-5-15 11:34 编辑

version=QCC512X_CONFIG

##############################
file=system3

# The capacitance for driving a crystal providing the raw clock
XtalLoadCapacitance = 0x0a

# Fine frequency trim for a crystal providing the raw chip clock
XtalFreqTrim = 0

##############################
file=bt2

# Bluetooth address
PSKEY_BDADDR =  \
{ \
   0x101317 /* lap */ , \
   0x5b /* uap */ , \
   0x02 /* nap */  \
}

# Local device's "user friendly" name
PSKEY_DEVICE_NAME = "Q5_L"

##############################
file=bt15

# Local device's "user friendly" name
PSKEY_DEVICE_NAME = "T2_R"

# Bluetooth address
PSKEY_BDADDR =  \
{ \
   0x101152 /* lap */ , \
   0xa1 /* uap */ , \
   0x1a20 /* nap */  \
}

##############################
file=app3

# License Key for product feature
FeatureLicenseKey = [ 8c a9 bf 7e 8a aa ba da 8c 15 8c 36 f2 58 b5 c5 45 9e 36 f2 6a 59 de cf b1 a8 27 68 92 44 dd ef ec 05 d4 ed 6d 21 75 a7 38 54 0c f6 9b 80 ae c6 ae ce 64 a4 21 b1 71 5d af a9 e9 80 15 05 d3 e1 ]

# Device product string descriptor
USBProductString = "QCC3020"

# Device serial number string descriptor
USBSerialNumberString = "ABCDEF0123456789"
如上面信息就只能读取写入前面的;后面的高位不能读取写入,实际耳机是读取的高位信息file=bt15
积分商城 - 让您的金币更有价值!||官方Q群 - 让您的沟通更加及时!
回复 支持 反对

使用道具 举报

连续签到天数:1天
签到总天数:1170天
签到总奖励:45846金币
 楼主| 发表于 2020-5-15 14:02:37 | 显示全部楼层
shubiao66 发表于 2020-5-15 11:28
软件有BUG ,如果配对名和校频地址码等信息写在默认位置是可以读写,如果同时有两个以上位置还是只能读写软 ...

我觉得这个还好吧,因为大部分人都会写在默认的位置,如果要按照你的想要的功能,那么我读取的时候不带layer标号,写入的时候必须都写到layer15这一层。我觉得这个真的没必要,像蓝牙地址,蓝牙名称这些,都可以在代码里面动态更改的。附上一段官方的说明
The configuration architecture implements a layered approach to each subsystem's configuration. The
configuration consists of up to 15 layers, numbered 1 to 15, each represented by a single file. The
overall configuration is simply the combined contents of these files.
Where the same key is set in more than one layer, the higher-numbered layer takes precedence over
the lower-numbered. This approach allows the configuration data to be split between several files.
积分商城 - 让您的金币更有价值!||官方Q群 - 让您的沟通更加及时!
回复 支持 反对

使用道具 举报

连续签到天数:1天
签到总天数:2540天
签到总奖励:80658金币
发表于 2020-5-16 08:15:05 | 显示全部楼层
basketcase 发表于 2020-5-15 14:02
我觉得这个还好吧,因为大部分人都会写在默认的位置,如果要按照你的想要的功能,那么我读取的时候不带la ...

用了别家的烧录和校频机器就会写在最高位!芯片有限读取高位,这时如果再修改低位就变的无效!
积分商城 - 让您的金币更有价值!||官方Q群 - 让您的沟通更加及时!
回复 支持 反对

使用道具 举报

暂无签到数据

发表于 2020-9-2 01:16:29 来自手机 | 显示全部楼层
厉害了楼主 有源码可以看看么
积分商城 - 让您的金币更有价值!||官方Q群 - 让您的沟通更加及时!
回复 支持 反对

使用道具 举报

连续签到天数:1天
签到总天数:337天
签到总奖励:3104金币
发表于 2020-9-2 09:11:48 | 显示全部楼层
shubiao66 发表于 2020-5-15 11:28
软件有BUG ,如果配对名和校频地址码等信息写在默认位置是可以读写,如果同时有两个以上位置还是只能读写软 ...

usb识别不了

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册  

×
积分商城 - 让您的金币更有价值!||官方Q群 - 让您的沟通更加及时!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册  

本版积分规则

小黑屋|手机版|我爱蓝牙网 - 52Bluetooth

GMT+8, 2024-4-20 00:15 , Processed in 0.159831 second(s), 17 queries , Gzip On, MemCached On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表