你好对话框,
我能够运行custom_ble_service示例。但是,当我尝试通过NRF Connect应用程序读取或写数据时,在某些毫秒的时间内,我会获得GATT连接超时错误,这让我再次重置USB板以进行连接。你能唤醒我在哪里可以在哪里调整时间?
此外,如果我想用两个USB DA14695板测试这个应用程序,我如何修改BLE_PERITELAL和BLE_CONTRAL示例中的特征的属性,以通过UART读取和写入它们?
提前致谢。
Regards,
普拉斯坦娜
Device:


嗨普拉斯坦尼亚,
你能说明你想读/写的哪个特征?是否有可能分享嗅探器日志,以便我能够理解空中发生的事情?
>>How can I modify the properties of the characteristics in the ble_peripheral and the ble_central examples to read and write between them through UART?
你能澄清这句话吗?所以,您是否需要从UART读取数据并将其发送到对等设备?
谢谢,PM_DIALOG.
你好对话框,
请找到下面附带的日志文件。
我正在测试样本示例“da1469x_custom_ble_service_sample_code”示例。
1.你可以看到日志形式file there is a continuous connection error several times and I could hardly connect only when I reset the USB. I have highlighted in the log file the errors and also when I could send the data. Almost at the end of the file you can see, I can send "hello" message to the peripheral which is printed in the UART. But, then immediately you can see the connection is lost. COuld you suggest me how can and in which parts of the code, I can adjust the delay?
2.是否有任何特定的间隙,其中外设与所请求的中央设备连接,以便在发生超时时连接丢失?
3.所发现的服务和特征在中央设备中显示为“未知”。我可以在哪些部分中更改服务和特征的名称?
4. There are two unknown services created in this specific example. The second service has three characteristics which are only readable. But, in the code, the parameter for reading is disabled in the second and the third characteristics. Even though we can see from the screen shot I shared that we can read the data. How is it possible? You can see the CHAR_READ_PROP_DIS in the second and third characteristic function calls of the second unknown service in "ble_peripheral_task.c" file of the above mentioned example program.
现在,在此示例中,我可以从智能手机读取,将数据写入外围设备。但是,我想在两个DA1469x USB板之间读写数据。为实现这一目标,我需要一些建议,我可以用来修改权限的SDK中的两个最佳示例演示是什么?
提前致谢。
Regards,
普拉斯坦娜
嗨普拉斯坦尼亚,
请使用Android应用程序BLE扫描仪(它是README文件中使用的)。它使用此应用程序良好。
/MHv
Hi MHv_Dialog,
Where can I find the UART example in the SDK. Also when I am testing the ble_central and the custom service example, the central device is unablr to discover the services created in the custom service example. I am unable to figure it out why this happens? Can you test this once and let me know whether you are able to discover the services.
提前致谢。
Regards,
普拉斯坦娜
UART示例可以在支持站点上找到:DA1469X UART适配器示例
我在我以前的响应中测试了所有中央应用程序,其中没有任何问雷竞技安卓下载题 - 您是否尝试过任何问题?
Hello MHv_Dialog,
I am testing the DA1469x_custom_service_example and the BLE_central example. The central is unable to discover the services defined in the custom_service_example. The services are being discovered only when tested with ble_peripheral example. Even the custom_service has ble_peripheral task where it declares some services, I am not getting why the ble_central cannot discover the services with the custom_service example.
Regards,
普拉斯坦娜
嗨普拉斯坦尼亚,
抱歉跳上进入新年快乐。我们在内部升级了这个,我们正在努力。我们将尽快给您回复。
谢谢,PM_DIALOG.
你好pm_dialog,
I figured it out why I cannot discover the services. Since, the device unable to discover the peripheral and I changed the address in ble_conig.h. But, every time the peripheral advertises with some random address, how can I avoid giving the address manually by checking with the smart phone app.
Happy New Year to you too :)
提前致谢。
嗨普拉斯坦尼亚,
你能告诉我们你如何识别出来吗?
还请澄清您的后续问题。
谢谢,PM_DIALOG.
Hello PM_Dialog,
我在ble_config.h中手动更改了BLE_CONFIG示例的BLE_CONFIG.H中,以发现BLE-WILICALE,CONNECT和DICOVER其属性。
关于我的问题,
For changing the above mentioned address manually in the BLE-central demo, I have to check for the random address the peripheral is generating through a smart phone application whenever the central cannot detect a peripheral. So, instead of this is there any way that a central can detect the peripheral with a random address?
Thanks, Prasanna
嗨普拉斯坦尼亚,
To change the BD Address, it is recommended to add the following macro definition in the custom_config_qspi.h file instead of modifying the SDK files. For example :
#define defoulble_static_address {0x11,0x22,0x33,0xca,0xea,0x80}
外围设备,是手机吗?通常,移动电话正在使用随机的BD地址,因此它们每次都在变化。没有方法可以检测到外围设备的新生成的随机地址。您可以使用静态BD地址将另一个DA1469X配置为间隙外设。
谢谢,PM_DIALOG.
你好对话框,
我有点困惑。您是否可以澄清我在ble_central / ble-config.h文件中定义的地址“#define defaulble_static_address”的值是什么。它是中心地址还是它必须连接的外围地址?
I am using two dialog usb sticks as the ble_peripheral and the ble_central. I have seen twice the address of the peripheral has changed which I figured out by checking with the ble scanner app. One is the address c5:80:c1:42:3e:8f and the second time I found it has changed to 06:06:06:01:01:01. This is why I am confused how this happens?
普拉斯纳,
我们正在研究本教程,并将在本周末发布更新的版本。一旦新版本可供下载,我会通知您。
谢谢,PM_DIALOG.