Central Mode Example of DA14580

16个帖子/ 0新
Last post
sabasit
Offline
Last seen:1 year 4 weeks ago
专家
加入:2014-10-14 14:20
Central Mode Example of DA14580

Hi Dialog team,

Is there any full hosted (_fh) example of DA14580 in central mode?

谢谢,
sabasit

设备:
JE_Dialog
Offline
Last seen:7 hours 40 min ago
Staff
加入:2013-12-05 14:02
Hello Sabasit,

Hello Sabasit,

the only one we have is DSPS right now (that is mature). BR JE_Dialog

reza.yazdani67 (not verified)
Dear JE_Dialog,

Dear JE_Dialog,

你好。你能给我发送DSPS应用吗?我的电子邮件地址是yazdani67@ut.ac.ir.

Thank you

JE_Dialog
Offline
Last seen:7 hours 40 min ago
Staff
加入:2013-12-05 14:02
嗨,你可以下载

在那里,您可以从支持站点(参考为代表部分)下载此问题。我们将其称为DK_Apps中的“主机”。BR JE_DIALOG.

桑普斯·富汉
Offline
Last seen:3 years 10 months ago
加入:2016-11-07 06:25
Hello,

Hello,

我想编写客户端服务器程序意味着扫描BLE设备,从其他BLE设备连接和发送/接收数据。

寻找 :

1. DA14580 in client mode scan BLE device and list out.
2. DA14580 in server mode connect any requested device.
3.成功连接数据通信过程应该是工作。
4.扫描响应数据我可以通过UART看到,就像有多少设备可以使用,然后我可以连接任何设备。

如果在SDK 5.0.3中提供的任何应用程序,则以上要求,因此表明我可以使用和开发应用程序的API。

If I get any help in this direction is very appreciable !

I get stuck because I didn't get any API so can start my work, as well as no any documents for it's.

谢谢,
sandip

MT_dialog
Offline
Last seen:2个月2周前
Staff
加入:2015-06-08 11:34
嗨桑普,

嗨桑普,

Currently there are a couple of examples that demonstrate this kind of functionallity, the DSPS example that implements the central and the device in a fully hosted project (the application runs in the 580) and there is also the proximity project. The central for the proximity project runs on a fully embedded design, that means that the application runs on an external MCU and communicates with the 580 over UART via a propriety protocol called GTL but the logic behind a fully embedded and fully hosted design are quite similar. So you should start from those projects.

You can find the DSPS and the documentation on the reference design section and the proximity reporter is located in the SDK.

谢谢MT_dialog

桑普斯·富汉
Offline
Last seen:3 years 10 months ago
加入:2016-11-07 06:25
Hi Dialog Team

Hi Dialog Team

我已经从Prox_reporter应用程序开始,但是当我要求与其他中央移动设备配对/连接时,它就是配对。
Latter on, From central device I want to sending and receiving the data, for that perpose I have downloaded Buetooth terminal application but it is not connection after long time process. That functionality is not there ? or I need to add any code.

谢谢,
桑普

MT_dialog
Offline
Last seen:2个月2周前
Staff
加入:2015-06-08 11:34
嗨sandip unkani,

嗨sandip unkani,

I dont quite understand what kind of bluetooth terminal application you mean ? Have you tried the proximity monitor that i ve indicated above ? Also please check the UM-B-010 User Manual : Proximity Example in integrated and external processor solution in order to setup the example.

谢谢MT_dialog

桑普斯·富汉
Offline
Last seen:3 years 10 months ago
加入:2016-11-07 06:25
BLE read/write functionality

Hello,

我无法在App_reporter应用程序中找到读/写API(SDK 5.0.3)。

我想通过蓝牙Retminal应用程序(Anroid手机应用程序)发送/接收数据,您可以找到Google Play商店。该应用程序用于TX / RX HEX或ASCII数据。

Connection and bonding is also successfully done later I want data communication. Is there profile miss match issue ?

Can you suggest BLE profile things ?

谢谢
桑普

MT_dialog
Offline
Last seen:2个月2周前
Staff
加入:2015-06-08 11:34
Hi sandip ukani,

Hi sandip ukani,

Regarding the read/write API that you mention, writes/reads can only be initiated by a master, slaves can only notify as long as a master has written their client configuration characteristic so by updating a characteritsic from your slave this will be automatically be sent to your master. To initiate those kind of procedures profile defined messages are used.

通过使用像BLE扫描仪等通用Android应用程序,您应该能够读取和写入邻近记者的特征。这些通用扫描仪将在手机上列出所有可用的服务和特性,然后您应该能够读取,写入和通知它们。并非所有它们都具有相同的属性,但手机上的应用程序应指示哪些特性具有读/写/通知属性。

谢谢MT_dialog

桑普斯·富汉
Offline
Last seen:3 years 10 months ago
加入:2016-11-07 06:25
Hello,

Hello,

Can explain the functionality of ke_msg_send, atts_write_rsp_send and co_write16p function ?

谢谢,
桑普

MT_dialog
Offline
Last seen:2个月2周前
Staff
加入:2015-06-08 11:34
Hi sandip ukani,

Hi sandip ukani,

  • 使用ke_msg_send()以便将分配的命令发送到BLE堆栈。
  • atts_write_rsp_send instructs the stack to send a response to BLE write request from a central, if you check the SDK, this command is only invoked when the gattc_write_cmd_ind_handler() is triggered which means that a central wants to write to any of the devices characteristics.
  • CO_WRITE16P函数将16位值参数分配给指向两个单个字节的指针。

谢谢MT_dialog

汉蒂格
Offline
Last seen:3 years 5 months ago
加入:2017-07-03 17:01
Thank you, very much!

Thank you, very much!
我将开发与两个DA14580S的配对接近标签使用。因此,外围和观察者。
Peripheral device easily made by sdk example. But observer device was difficult, because there is no sample code in sdk.
I changed as below.
在DSPS的App_configuration_func()中,cmd->角色= gap_observer_sca
In app_scanning, msg->mode = GAP_OBSERVER_MODE and msg->filter_duplic = SCAN_FILT_DUPLIC_DIS

By the way, by contrast as usb dongle, gapm_adv_report_ind_handler() is less called than dongle.
usb的例子dongle broadcast packets show every 0.5s, but in DSPS observer program broadcast packets(gapm_adv_report_ind_handler called times) show every 2~3s .
Inorder to act my program as usb dongle, how to have to do? How have to change scan interval of observer device ?
Execuse me, would you give me source code? If you will be difficult, I want to help me in detail.

亲爱的mt_dialog,纠正我,你会帮助我吗?我曾经使用过NRF51822,但DA14580高于NRF51822。我更兴趣DA14580,我已经开发了几个使用DA14580的蓝牙设备。
But da14580 source code which acts as observer certainly is needed to us.Help me! Thanks in advance.

MT_dialog
Offline
Last seen:2个月2周前
Staff
加入:2015-06-08 11:34
嗨Hantig,

嗨Hantig,

Please dont re-post the same question in multiple threads, i 've answered your question in your original post, herehttps://support.dialog-semicondiondiondum/gap- role-combinations..

谢谢MT_dialog

汉蒂格
Offline
Last seen:3 years 5 months ago
加入:2017-07-03 17:01
Thank you very much! Dear, MT

Thank you very much! Dear, MT_dialog.
First i send you images which indicate current situation.
I have done as method which you had told me, but it is same.
因此,如果我在app_on_adv_report_ind()中设置了断点,我与加密狗数据包嗅探器比较,当加密狗数据包显示5〜6次时,app_on_adv_report_ind()勉强称为1次。
纠正我,请你发送给我观察者Souce代码吗?我的地址是skyclean906@gmail.com.

Attachment:
MT_dialog
Offline
Last seen:2个月2周前
Staff
加入:2015-06-08 11:34
嗨Hantig,

嗨Hantig,

Please dont re-post the same question in multiple threads, i 've answered your question in your original post, herehttps://support.dialog-semicondiondiondum/gap- role-combinations.. Lets keep your question in one thread.

谢谢MT_dialog