yabo国际娱乐Dialog半导体客户支持- SUOTA gatt服务特点 https://support.dialog-semiconductor.com/resource-keywords/suota-gatt-service-characterisitc 添加定制服务和特色后的SUOTA问题 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/problem-suota-after-adding-custom < div class = "字段field-name-taxonomy-forums field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >论坛:,< / div > < div class = "字段条目" > < div class =”field-item甚至“rel = " sioc: has_container " > < a href = " /论坛/ dialog-smartbond-bluetooth-low-energy - % E2 % 80% 93 -软件”“=“sioc:容器sioc:论坛”属性= " rdfs: label skos: prefLabel”数据类型= " " >对话框Smartbond蓝牙低能量-软件< / > < / div > < / div > < / div > < div class =”字段field-name-body field-type-text-with-summary field-label-hidden”> < div class = "字段条目" > < div class =”field-item甚至“财产=“内容:编码”> < p >你好,< / p > < p >我用SDK 10.0.4.66.2 DA1469x芯片(基本上I'm testing this issue also on dev board for that board). My problem is that when I'm adding my custom service with one particular characteristic the SUOTA feature stops working for me. As a result in Dialog's SUOTA application despite I see my device (I can connect to it) I cannot see any device informations (data from DIS like manufacturer, model number, firmware revision and software revision), also firmware update is not starting, staying at 0 packets send.

So, my custom service UUID is 0xFFFD and characteristic UUID 0x2A28 - UUIDs are required by feature which I need to implement, so I cannot change them. The way I'm adding those is like that:

 uint16_t m_service_revision_handle = 0; att_uuid_t uuid; uint16_t num_attr = ble_gatts_get_num_attr(0, 1, 0); static const uint16_t U2F_SERVICE_UUID = 0xFFFD; static const uint16_t SOME_UUID = 0x2A31; static const uint16_t WRONG_UUID = 0x2A28; ble_uuid_create16(U2F_SERVICE_UUID, &uuid); ble_gatts_add_service(&uuid, GATT_SERVICE_PRIMARY, num_attr); ble_uuid_create16(WRONG_UUID, &uuid); ble_gatts_add_characteristic( &uuid, GATT_PROP_READ, ATT_PERM_READ, 20, GATTS_FLAG_CHAR_READ_REQ, // Flags only have GATTS_FLAG_CHAR_READ_REQ 0, &m_service_revision_handle ); ble_gatts_register_service( &m_service_revision_handle, 0 );

Funny thing is that if I change characteristic UUID from 0x2A28 to for ex. 0x2A31 everything works just fine.

I prepared pxp_reporter_task.c file with this additional service which makes SUOTA non-operational. I'm attaching the file, so you can replace one which is in SDK's example project of pxp_reporter (project/dk_apps/demos/pxp_reporter). [since in attachment I can only add pdf files, you need to remove .pdf from its extension]

Can someone take a look at that and help me with this problem? Why this particular characteristic UUID is causing SUOTA to not work? Is it not working only with Dialog's Android application and it will work with anything else? Thank you in advance for your help

Device: 
星期一,2019年7月29日13:28:54 +0000 mcisek 316439年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/problem-suota-after-adding-custom#comments