自定义服务的属性读写问题

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
3 posts / 0 new
Last post
liyang
Offline
Last seen:6 months 1 week ago
Expert
加入:2014-09-24 11:51
自定义服务的属性读写问题

您好,很久没来论坛了。从14年到现在一直用DA14580在做产品。之前用的SDK3所以一直都没什么问题。
现在公司的新产品打算用SDK5,我参考《Dialog SDK 5.0.3 培训材料2自定义协议》文件并使用了SDK5.0.4下的ble_app_all_in_one这个project来进行试验。
添加新的特征值之后,运行起来的设备能被手机上的工具软件扫描并且能和手机上的工具软件进行连接。
我发现当我用手机上的蓝牙工具对自定义的特征进行写入数据时,并没有回调对应的gattc_write_cmd_ind_handler(...)函数,我记得在SDK3上是会回调
gattc_write_cmd_ind_handler(...)的。请问ble_app_all_in_one这个project能实现对特征值进行操作吗?写入数据是会调用哪个回调函数?

Device:
liyang
Offline
Last seen:6 months 1 week ago
Expert
加入:2014-09-24 11:51
有没有遇到相同问题的朋友,给支个招。

有没有遇到相同问题的朋友,给支个招。

PM_Dialog
Offline
Last seen:2 days 15 hours ago
工作人员
加入:2018-02-08 11:03
Hi liyang,

Hi liyang,

This is our English BLE forum and the customers post only questions in English. For your case, be aware that we have a Chinese BLE forum. You could find it into our portal page. So, please post your question in English or post it into the Chinese forum.

Thanks, PM_Dialog