Forums: href = " /论坛/ dialog-smartbond-bluetooth-low-energy - % E2 % 80% 93 -软件-对话框- 9 csmartbond % E2 % % E2 % 80% 80% 9 d % E7%B3%BB % E5 % 88% 97% e4%bd % 8 8 e % E5 % % E8 % 9 f % E8 % 80% 97% 93% 9 E2 % d % E7 % 89% 99% 80% 94% e8%bd % AF % E4%BB % B6”“=“sioc:容器sioc:论坛”属性=“rdfs: label skos: prefLabel”数据类型= " " >对话框Smartbond蓝牙低能量-软件/ /对话框“Smartbond”系列低功耗蓝牙——软件< / > < / div > < / div > < / div > < div class =”字段field-name-body field-type-text-with-summary field-label-hidden”> < div class = "字段条目" > < div class =”field-item甚至“财产=“内容:编码”> < p >啊哈,我又来了。< br / >周末在弄sample128的时候,发现主要服务下面有2个特征1和2 < br / >特征2下面有个< br / >客户特点配置< br / > UUID 0 x2902 < br / > 1)这个东西干嘛的?客户端特征配置,是给蓝牙设备通知的吗?< / p > < p > 2)如果我要在sample128的特征1也添加上一个< br / >客户特点配置< br / > UUID 0 x2902 < br / >要怎么做呢?< / p > < p >我尝试修改长58度为60,把特征2下的那段代码复制到特征1下面< br / > / /添加客户端配置声明属性数据库(便于通知)< br / > = attmdb_add_attribute (sample128_env地位。sample128_shdl,
sizeof(uint16_t), //数据大小2bytes (16bit)
ATT_UUID_16_LEN, //客户端配置类型ID
(uint8_t*) &att_decl_cfg, // 0x2902客户端配置声明类型UUID
PERM(RD, ENABLE) | PERM(WR, ENABLE),/ /权限< br / >, (val_hdl) / /处理价值属性< br / >); < br / >发现搜索连接到蓝牙后,连整个sample128的sample128的服务全不见了。< / p > < / div > < / div > < / div > < div class =”字段field-name-field-forum-keywords field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >关键词:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / resource-keywords / sample128-client-characteristic-configuration typeof =“skos:概念”属性= " rdfs: labelskos: prefLabel”数据类型= " " > sample128端特征配置< / > < / div > < / div > < / div > < div class =”字段field-name-field-device field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >设备:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / forum-post-device / da14580 typeof =“skos:概念”属性= " rdfs: label skos: prefLabel”数据类型= " " > DA14580 < / > < / div > < / div > < / div >
2016年9月12日星期一02:35:42 +0000
lianghuok2
4592年https://support.dialog-semiconductor.com
https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-da1458x-bt42-bluetooth-smart-%E2%80%93-software-da1458x-bt42%E8%93%9D%E7%89%99%E8%BD%AF%E4%BB%B6%E7%9B%B8%E5%85%B3%E9%97%AE%E9%A2%98-2#comments