I was referring to the Bluetooth 5 spec supporting features. The DA 1485 has Bluetooth 5 hardware support right, and the 6.0.4 SDK also is Bluetooth 5 compatible. So, I wanted to see how we can implement the features of Bluetooth 5 in our products with this hardware and SDK version. Mainly the APIs to be called, and their description.
谢谢你的及时回复。我想使用增加的有效负载功能。在我的应用程序中,我想发送256字节的数据。因此,要调用什么API以及如何调用?应用程序应该将256字节分割成更小的数据包,还是堆栈会自动这样做?请建议进行相同操作所需的步骤。 Also, is the increased data rate feature supported ? 另外,我在一个定制的可编程网格上操作设备。所以,我想知道ble5在mesh上通信的可靠性。 论坛中是否有与ble 5相关的示例代码?
Thanks for your prompt reply. Do we have any example to demonstrate the usage of this API? Also, when we have to send the 256 bytes of data, do we have to fragment the data, or will the API take care of this? 另外,sdk6.0.4是否支持提高数据速率功能?
你应该配置CFG_MAX_RX_PACKET_LENGTHand CFG_MAX_TX_PACKET_LENGTH definitions of da1458x_config_advanced.h header file with the correct DLE packet. Then you should modify the .max_txoctets and the .max_txtime of the user_gapm_conf structure of the user_config.h header file. Also, you should use the MTU size .max_mtu = 247. Please check the attached example code of the user_gapm_conf structure. If you want to transfer 256 bytes, you need to transfer 2 DLE packets. The first packet will contain 247 + 3 byte hearder and the second the rest of the data. According to the BLE specifications, you are able to send 251 bytes max in one packet. Be aware that the maximum size of the packet is related to SIG specifications and power consumption. Also, I highly suggest you the DSPS application for the DA14585 SoC. This application uses the data length extension. Please search the USE_DLE hash definition.
Hi wisilica,
您能澄清一下您对哪些特性和API感兴趣吗?关于“BLE 5文档”,我无法理解您所指的内容。你指的是ble5规范还是sdk5文档?如果您指的是SDK5文档,我强烈建议您阅读我们支持页面中的以下用户手册:
https://support.dialog-semiconductor.com/system/files/restricted/UM-B-050_DA1458x_Software_Developer%27s_Guide_1v1.pdf
https://support.dialog-semiconductor.com/system/files/restricted/UM-B-051_DA1458x_Software_Platform_Reference_1v2.pdf
谢谢,下午好
你好,
I was referring to the Bluetooth 5 spec supporting features. The DA 1485 has Bluetooth 5 hardware support right, and the 6.0.4 SDK also is Bluetooth 5 compatible. So, I wanted to see how we can implement the features of Bluetooth 5 in our products with this hardware and SDK version. Mainly the APIs to be called, and their description.
Thanks
维希利卡
Hi wisilica,
我们没有任何有关Bluetooth5规范的文档,其中包括BLE5的所有SDK特性。请注意,DA14585还不支持所有新功能。如果您想添加一个功能,请说明您要实现的功能,然后我们会告诉您是否支持该功能。
谢谢,下午好
你好,
谢谢你的及时回复。我想使用增加的有效负载功能。在我的应用程序中,我想发送256字节的数据。因此,要调用什么API以及如何调用?应用程序应该将256字节分割成更小的数据包,还是堆栈会自动这样做?请建议进行相同操作所需的步骤。
Also, is the increased data rate feature supported ?
另外,我在一个定制的可编程网格上操作设备。所以,我想知道ble5在mesh上通信的可靠性。
论坛中是否有与ble 5相关的示例代码?
SDK - 6.0.4
硬件-DA 14585
Hi wisilica,
强烈建议使用SDK6.0.8。此功能称为数据长度扩展(DLE),您可以添加多达251字节的用户数据。请查看da1458x\u config\u advanced.h头文件的CFG\u MAX\u RX\u PACKET\u LENGTH和CFG\u MAX\u TX\u PACKET\u LENGTH定义。SDK6.0.4也支持这一点,但我们强烈建议使用SDK6.0.8。关于Mesh,这个特性与ble5兼容,但是源代码很快就会发布。
谢谢,下午好
你好,
谢谢你的回复。但请解释此长度的用法,以及用于此扩展负载的广告的API。
Thanks
Hi wisilica,
GAPC\u SET\u LE\u PKT\u SIZE是将要发送的操作,因此您是正确的,app\u easy\u gap\u SET\u data\u packet\u length()API将在运行时发送并设置数据长度。请确保CFG\u MAX\u TX\u PACKET\u LENGTH和CFG\u MAX\u RX\u PACKET\u LENGTH定义设置了正确的DLE(数据长度扩展数据包大小)。根据表4.2规范,CFG\u MAX\u TX\u PACKET\u LENGTH是支持的最大发送数据包长度,CFG\u MAX\u TX\u PACKET\u LENGTH是支持的最大接收数据包长度
谢谢,下午好
你好,
Thanks for your prompt reply. Do we have any example to demonstrate the usage of this API? Also, when we have to send the 256 bytes of data, do we have to fragment the data, or will the API take care of this?
另外,sdk6.0.4是否支持提高数据速率功能?
Thanks
Hi wisilica,
我们没有任何例子来演示这个API的用法,API会处理这个问题。是的,SDK6.0.4支持提高数据速率功能,但我们强烈建议您使用SDK6.0.8
谢谢,下午好
你好,
那么你能解释一下如何实现提高数据速率的功能吗?
Hi wisilica,
你应该配置CFG_MAX_RX_PACKET_LENGTHand CFG_MAX_TX_PACKET_LENGTH definitions of da1458x_config_advanced.h header file with the correct DLE packet. Then you should modify the .max_txoctets and the .max_txtime of the user_gapm_conf structure of the user_config.h header file. Also, you should use the MTU size .max_mtu = 247. Please check the attached example code of the user_gapm_conf structure. If you want to transfer 256 bytes, you need to transfer 2 DLE packets. The first packet will contain 247 + 3 byte hearder and the second the rest of the data. According to the BLE specifications, you are able to send 251 bytes max in one packet. Be aware that the maximum size of the packet is related to SIG specifications and power consumption. Also, I highly suggest you the DSPS application for the DA14585 SoC. This application uses the data length extension. Please search the USE_DLE hash definition.
谢谢,下午好
你好,
Thanks for your reply, but I am not able to find any example code attached.
Thanks
你好,
"Please check the attached example code of the user_gapm_conf structure."
I am not able to find the attached sample code. Please provide the same.
Thanks
维希利卡
Hi wisilica,
可能示例代码没有正确上传,但包含了我在上一篇文章中提到的内容。请查收附件。
谢谢,下午好