I tried changing the service uuid and the characteristic uuid of CUSTS1 profile for testing.
Below is the code for testing.
-----------------------------------------------------------------
prf_init_func / prf_utils.c / line1465
uint8_t i=0;
uint8_t j=0;
static att_svc_desc128_t uuid;
while( cust_prf_funcs[i].task_id != TASK_NONE )
{
if( cust_prf_funcs[i].init_func != NULL )
{
for (j=0; j<16; j++) {
cust_prf_funcs[i].att_db[CUST1_IDX_SVC].uuid[j]=j;
cust_prf_funcs[i].att_db[CUST1_IDX_LONG_VALUE_VAL].uuid[j]=j+1;
}
cust_prf_funcs[i++].init_func();
}
else i++;
}
-------------------------------------------------------------------
However, when the service uuid is changed, it becomes impossible to connect.
The above code was not reflected on the characteristic uuid.
Can arbitrary uuid is set after starting FW?
How to set arbitrary UUID after starting FW?
Thanks,
Nomura.
当DA14583向手机发送自定义的128bit uuid消息时,uuid突然消失,但有效载荷仍然存在。根本原因是什么?非常感谢。< / 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 / uuid”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > UUID < / > < / 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 / da14583”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > DA14583 < / > < / div > < / div > < / div >