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 ? 此外,我通过自定义BLE网格操作设备。因此,我想知道BLE 5在网眼上通信的可靠性。 论坛中有5个相关的样本代码吗?
感谢你的及时回复。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? 此外,SDK 6.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文件”,我无法理解您所指的内容。你的意思是BLE 5规格或SDK 5文件吗?如果您的意思是SDK5文档,我强烈建议您从我们的支持页面读取以下用户手册:
https://support.dialog-seminile.com/system/files/restricted/um-b-050_da1458x_software_developer%27s_guide_1v1.pdf.
https://support.dialog-seminile.com/system/files/restricted/um-b-051_da1458x_software_platform_reference_1v2.pdf.
谢谢,PM_DIALOG.
你好,
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
Wisilica.
Hi wisilica,
我们没有相对于蓝牙5的任何文档,其中包括BLE的所有SDK功能5.请注意DA14585不支持所有新功能。如果要添加功能,请澄清您要实现的功能,然后我们会告诉您是否支持它。
谢谢,PM_DIALOG.
你好,
感谢你的及时回复。我想使用增加的有效载荷功能。在我的申请中,我想发送256个字节的数据。所以为此,要调用的API是什么?应用程序将256字节分为较小的数据包,或者堆栈会自动这样做吗?请建议相同所需的步骤。
Also, is the increased data rate feature supported ?
此外,我通过自定义BLE网格操作设备。因此,我想知道BLE 5在网眼上通信的可靠性。
论坛中有5个相关的样本代码吗?
SDK - 6.0.4
HW - DA 14585
Hi wisilica,
强烈建议使用SDK6.0.8。此功能称为数据长度扩展(DLE),您可以在其中添加多达251个字节的用户数据。请查看da1458x_config_advanced.h header文件的cfg_max_rx_packet_length和cfg_max_tx_packet_length定义。这也得到了SDK6.0.4支持,但我们强烈建议使用SDK6.0.8。关于网格,此功能是符合BLE 5的,但源代码将很快发布。
谢谢,PM_DIALOG.
你好,
感谢您的回复。但请解释此长度的使用,以及用于广告此扩展有效载荷的API S。
Thanks
Hi wisilica,
GAPC_SET_LE_PKT_SIZE是将发送的操作,因此您是正确的,APP_EASY_GAP_SET_DATA_PACKET_LENGHED()API将在运行时发送和设置数据长度。请确保使用适当的DLE(数据长度扩展报文大小)设置CFG_MAX_TX_PACKET_LENGTH和CFG_MAX_RX_PACKET_LENGTH定义。CFG_MAX_TX_PACKET_LENGTH是最大支持的TX数据包长度,CFG_MAX_TX_PACKET_LENGTH根据BLE 4.2规格,CFG_MAX_TX_PACKET_LENGHENT为最大支持的RX数据包长度
谢谢,PM_DIALOG.
你好,
感谢你的及时回复。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?
此外,SDK 6.0.4中支持的数据速率是否增加了?
Thanks
Hi wisilica,
我们没有任何示例来演示此API的使用,API将照顾此功能。是的,SDK 6.0.4支持增加的数据速率功能,但我们强烈建议您使用SDK6.0.8
谢谢,PM_DIALOG.
你好,
因此,U PLS可以解释如何实现增加的数据速率功能吗?
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.
谢谢,PM_DIALOG.
你好,
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
Wisilica.
Hi wisilica,
可能是示例代码没有正确上传,但包含我在上一篇文章中提到的内容。请找到它。
谢谢,PM_DIALOG.