你好,
I'm new to Dialog products and my end goal is to use the DA14580 as a external/connectivity chip with my own custom service and characteristics.
- 我能够修改ble_app_profile例子nd add a characteristic to it which responds on a write to the control point characteristic. I would instead like to send the data immediately once the central device i.e. my phone, connects to it and subscribes to notifications. I believe there is a message sent to user_catch_rest_hndl when the phone subsribes to notifications. Previous forum posts have pointed to a RW-BLE-GATT-IS document which contains the BLE messages but I'm unable to find it. Can you please share this document and confirm the existence of a message which is sent when the connected device subscribes to notifications.
- 我的下一个目的是在SPI使用DA14580作为外部芯片。我看了看Prox_reporter_ext_spi示例,并注意到将消息发送到外部芯片以添加服务。那么这是否意味着在DA14580上运行的固件作为外部芯片时是通用的,并且主服务器需要提供它应该注册的塞子?此外,您能否提供一些步骤/资源,即如何继续制作这个?BLE_APP_PROFILE应该用作基本代码或PROX_REPORTER_EXT_SPI吗?
Thanks
夫
Keywords:
Device:
嗨Tsgowtham,
Thanks for your question. Let me check it and I’ll get back to you.
谢谢,PM_DIALOG.
Hi PM_Dialog,
谢谢你的回应。直到你能够回复我的问题的答案,你能否分享RW-BLE-GATE和RW-BLE-HOST - 是或提供给我可以从哪里下载这些文档的链接?还有其他文档也需要读取使用DA14580作为外部芯片吗?
Thanks
嗨Tsgowtham,
The RW-BLE-*** documents are not available on our support website anymore, because typically people do not need those documents for developing their application. You should use the provided easy-to-use APIs in order to start developing your project. In case of notifications, please take a look at the ble_app_peripheral example of the SDK. This example uses the app_easy_timer in order to send notification to peer Central device every APP_PERIPHERAL_CTRL_TIMER_DELAY. Upon timer expiration, the app_adcval1_timer_cb_handler() callback is triggered.
如果我理解正确,您的要求是使用DA14580作为SPI主人。如上所述,请检查引导程序AN-B-001:从串行接口启动DA14580 / 581/583. Additionally, you should look at the prox_reporter_ext_spi project in order to check how to setup the HW as an SPI slave.
同时,它是否会与您的申请的高级描述分享?
如果您正在启动新设计,我们将强烈建议从DA14531或DA14585 / 586产品和我们最新的SDK6.0.14开始,因为它更加改进。亚博电竞菠菜我们有很多代码示例和改进的文档,还有软件路线图支持。DA14580产品系列和SDK5没有任何软件路线图支持。
Please check out DA14531:
//www.xmece.com/products/connectivity/bluetooth-low-energy/products/da14531
此外,DA14531 SmartBond Tiny™模块现已发布!按照下面的链接查找模块的数据表,文档和HW抵消:
//www.xmece.com/products/bluetooth-module-da14531-smartbond-tiny
Moreover, Dialog Serial Port Service (DSPS) and CodeLess are now available for the DA14531!
谢谢,PM_DIALOG.
你好,
由于RW-BLE文件不再可用,因此我可以在哪里找到user_catch_rest_hndl函数中使用的消息ID列表?
一旦将值写入控制点特性,BLE_APP_PERITELAL项目开始发送。我想改变它,使其开始发送一旦移动应用程序启用特定特征的通知。
我想澄清的一件事是我的要求是将DA14580用作SPI奴隶,而不是掌握。我正在使用另一个微控制器作为主人。
而且我无法理解谁启动了主人和奴隶之间的通信?什么邮件作为第一条消息发送?
此外,如果我想使用cust1配置文件,我是否需要修改prox_reporter_ext_spi的目标应用程序,或者是从spi master加载的服务和配置文件吗?
关于您关于我的申请的问题,我无法透露任何细节,因为客户在受监管的行业中。我正在进行现有的设计,所以我不幸的是无法转移到DA14531。
Thanks
嗨Tsgowtham,
The messages for the custom 1 service can be found in custs1_task.h file. When the control point characteristic is written, the user_svc1_ctrl_wr_ind_handler() will be triggered and if the value is 0x01 then the DA14580 will send the data over notification to the peer device. In app_adcval1_timer_cb_handler() you could how to send notification. So you can, you could use similar implementation as soon as the device is connected (for example). In case of prox_reporter_ext_spi, I assume that you can add the implementation from the ble_app_peripheral.
谢谢,PM_DIALOG.
Hi PM_Dialog,
感谢您的回复,我看看了Custs1_task.h文件,我想我现在了解了现在为客户端发送的消息发送给客户。
但我仍然无法找到我上一篇文章中提到的问题的答案。
“而且我无法理解谁启动了主人和奴隶之间的通信?是什么消息作为第一条消息发送?”
Can you please help me with this question too?
Thanks
Hi PM_Dialog,
你能帮我帮助我弄清楚谁开始沟通?我的问题是我的最后一篇文章。
此外,是否有关Cust1_Task.h中的所有消息结构的API参考文档?我无法弄清楚如何使用custs1_create_db_req,我在软件平台参考OC中搜索,但找不到任何东西。我试图看看它在BLE_APP_PROFILE榜样中如何实现,但我无法找到它是如何传递给CUSTS1_CREATE_DB_REQ_HANDLLER。
Thanks
嗨Tsgowtham,
My apologies - propably i missed your last question. Let me check it and I'll reply you soon.
谢谢,PM_DIALOG.
嗨Tsgowtham,
请参阅第6.1节DA1458x连接到SPI MasterAN-B-001:从串行接口启动DA14580 / 581/583application note. According to this document, the communication starts with the external SPI master device sending the Preamble bytes (0x70 and 0x50) followed by a zero byte. The Custom 1 profile is already implemented by the SDK. Probably the following documents might help you:
//www.xmece.com/sites/default/files/training_02_custom_profile_example_v1.2_0_0.pdf
https://www.dialog-seminile.com/sites/default/files/an-b-029_developing_a_bluetooth_smart_custom_profile_v1.0.pdf.
谢谢,PM_DIALOG.
谢谢pm_dialog,这些文件有助于一点。
嗨Tsgowtham,
谢谢你接受我的答案。如果您有任何其他问题,请随时创建一个新的论坛线程。
谢谢,PM_DIALOG.