I want to write client server program means scan BLE device, connect and send/receive data from other BLE device.
寻找:
1、DA14580在客户端模式下扫描可编程设备并列表输出。 2.服务器模式下的DA14580连接任何请求的设备。 3. After successfully connection data communication process should be work. 4. Scan response data I can see through UART, like how many device is available then I can connect any one device.
If any application available in SDK 5.0.3 for above requirement then suggest otherwise suggest API that I can use and develop the application.
I have started from prox_reporter application but when I am requesting for pairing/connect from other central mobile device, it's pairing. 后来,我想从中央设备发送和接收数据,因为我已经下载了两个终端应用程序,但经过长时间的处理后,它不是连接。这个功能不存在吗?或者我需要添加任何代码。
I am unable locate read/write API in app_reporter application (SDK 5.0.3).
I want to send/receive data through bluetooth retminal application(anroid phone application), you can find google play store. That application is use for Tx/Rx hex or ascii data.
By using a generic android application like BLE scanner you should be able to read and write the characteristics of the proximity reporter. Those generic scanners will list on the phone all the available services and characteristics and then you should be able to read, write and notify them. Not all them have the same properties but the application on your phone should indicate which characteristic has read/write/notify property.
非常感谢! I am going to develop a pair proximity tag use with two da14580s. Thus, peripheral and observer. 用sdk制作外围设备的例子。但是observer设备很困难,因为sdk中没有示例代码。 我改变如下。 In app_configuration_func() of DSPS, cmd->role = GAP_OBSERVER_SCA 在应用程序扫描中,msg->mode=GAP\u observator\u mode和msg->filter\u duplic=SCAN\u FILT\u duplic\u DIS
Dear MT_dialog, Execuse me, would you help me? I had ever used nrf51822, but da14580 superior more than nrf51822. I am more interest da14580 and i have already developed several bluetooth devices using da14580. 但是作为观察者的da14580源代码对我们来说是必需的。帮帮我!提前谢谢。
非常感谢你!亲爱的,MT\u dialog。 首先,我给你发来的图片表明了目前的情况。 我已经按你告诉我的方法做了,但还是一样的。 Thus, if i set breakpoint in app_on_adv_report_ind() and i compare with dongle packet sniffer, when dongle packet has shown 5~6 times, app_on_adv_report_ind() has called barely 1 times. Execuse me, Would you please send me observer souce code? My address isskyclean906@gmail.com.
你好,萨巴斯特,
我们现在只有一个DSP(已经成熟了)。BR JE\u对话框
亲爱的Jeu Dialog,
Hi. Could you please send me DSPS application? My email isyazdani67@ut.ac.ir.
谢谢你
Hi There, you can download this from the support site (under the referecne desgin section). We refer to it as the 'host' in the DK_Apps. BR JE_Dialog
你好,
I want to write client server program means scan BLE device, connect and send/receive data from other BLE device.
寻找:
1、DA14580在客户端模式下扫描可编程设备并列表输出。
2.服务器模式下的DA14580连接任何请求的设备。
3. After successfully connection data communication process should be work.
4. Scan response data I can see through UART, like how many device is available then I can connect any one device.
If any application available in SDK 5.0.3 for above requirement then suggest otherwise suggest API that I can use and develop the application.
如果我在这方面得到任何帮助是非常可观的!
我被卡住了,因为我没有得到任何API,所以可以开始我的工作,以及没有任何文件为它的。
Thanks,
桑迪普
Hi sandip,
目前有两个示例演示了这种功能,DSPS示例在完全托管的项目(应用程序在580中运行)中实现中心和设备,还有邻近项目。接近项目的中心运行在完全嵌入式设计上,这意味着应用程序运行在外部MCU上,并通过一个称为GTL的适当协议通过UART与580通信,但完全嵌入式和完全托管设计背后的逻辑非常相似。所以你应该从这些项目开始。
您可以在参考设计部分找到dsp和文档,而邻近报告器位于SDK中。
谢谢你的对话
嗨对话小组
I have started from prox_reporter application but when I am requesting for pairing/connect from other central mobile device, it's pairing.
后来,我想从中央设备发送和接收数据,因为我已经下载了两个终端应用程序,但经过长时间的处理后,它不是连接。这个功能不存在吗?或者我需要添加任何代码。
Thanks,
Sandip
你好,sandip unkani,
我不太明白你的意思是什么样的蓝牙终端应用?你试过我上面提到的接近监视器吗?另外,请查看UM-B-010用户手册:集成和外部处理器解决方案中的邻近示例,以便设置示例。
谢谢你的对话
你好,
I am unable locate read/write API in app_reporter application (SDK 5.0.3).
I want to send/receive data through bluetooth retminal application(anroid phone application), you can find google play store. That application is use for Tx/Rx hex or ascii data.
连接和键合也是成功的,以后我要数据通信。是否存在缺赛问题?
你能给我一些建议吗?
Thanks
Sandip
你好,sandip ukani,
关于您提到的读/写API,写/读只能由主设备启动,从设备只能在主设备已写入其客户机配置特征时发出通知,因此通过从设备更新特征,这将自动发送到主设备。要启动这些过程,需要使用配置文件定义的消息。
By using a generic android application like BLE scanner you should be able to read and write the characteristics of the proximity reporter. Those generic scanners will list on the phone all the available services and characteristics and then you should be able to read, write and notify them. Not all them have the same properties but the application on your phone should indicate which characteristic has read/write/notify property.
谢谢你的对话
你好,
能解释一下keu msg\u send、atts\u write\u rsp\u send和co\u write16p函数的功能吗?
Thanks,
Sandip
你好,sandip ukani,
谢谢你的对话
非常感谢!
I am going to develop a pair proximity tag use with two da14580s. Thus, peripheral and observer.
用sdk制作外围设备的例子。但是observer设备很困难,因为sdk中没有示例代码。
我改变如下。
In app_configuration_func() of DSPS, cmd->role = GAP_OBSERVER_SCA
在应用程序扫描中,msg->mode=GAP\u observator\u mode和msg->filter\u duplic=SCAN\u FILT\u duplic\u DIS
顺便说一下,与usb加密狗相比,gapm\u adv\u report\u ind\u handler()的调用比加密狗少。
例如,在usb加密狗中,广播数据包每0.5秒显示一次,但在DSPS观察器程序中,广播数据包(gapm\u adv\u report\u ind\u handler called times)每2~3秒显示一次。
为了把我的程序当usb加密狗,该怎么办?如何改变观察者设备的扫描间隔?
对不起,你能给我源代码吗?如果你有困难,我想详细地帮助我。
Dear MT_dialog, Execuse me, would you help me? I had ever used nrf51822, but da14580 superior more than nrf51822. I am more interest da14580 and i have already developed several bluetooth devices using da14580.
但是作为观察者的da14580源代码对我们来说是必需的。帮帮我!提前谢谢。
Hi hantig,
请不要在多个线程中重新发布相同的问题,我已经在你原来的帖子中回答了你的问题,在这里https://support.dialog-semiconductor.com/gap-role-combinations.
谢谢你的对话
非常感谢你!亲爱的,MT\u dialog。
首先,我给你发来的图片表明了目前的情况。
我已经按你告诉我的方法做了,但还是一样的。
Thus, if i set breakpoint in app_on_adv_report_ind() and i compare with dongle packet sniffer, when dongle packet has shown 5~6 times, app_on_adv_report_ind() has called barely 1 times.
Execuse me, Would you please send me observer souce code? My address isskyclean906@gmail.com.
Hi hantig,
请不要在多个线程中重新发布相同的问题,我已经在你原来的帖子中回答了你的问题,在这里https://support.dialog-semiconductor.com/gap-role-combinations. 让我们把你的问题集中起来。
谢谢你的对话