⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
15个帖子/ 0新
Last post
wisilica
Offline
Last seen:10个月3周前
Joined:2015-03-17 08:16
蓝牙5支持文档

Hi,

请提供BLE 5文档的链接,使用API​​和支持的功能。

谢谢
Wisilica

设备:
PM_Dialog
Offline
Last seen:8小时18分钟前
Staff
Joined:2018-02-08 11:03
嗨Wisilica,

嗨Wisilica,

Could you please clarify which feature and APIs you are interested in? Regarding the “BLE 5 documentation”, I am not able to understand what you refer to. Do you mean the BLE 5 specifications or SDK 5 documentation? In case you mean SDK5 documentation, I strongly suggest you to read the following user manuals from our support page:

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

谢谢, PM_Dialog

wisilica
Offline
Last seen:10个月3周前
Joined:2015-03-17 08:16
Hi,

Hi,

我指的是蓝牙5规范支持功能。DA 1485具有蓝牙5硬件支持权限,6.0.4 SDK也是蓝牙5兼容。因此,我想看看我们如何使用此硬件和SDK版本在我们的产品中实现蓝牙5的功能。雷电竞官网登录主要是调用的API,以及他们的描述。

谢谢
Wisilica

PM_Dialog
Offline
Last seen:8小时18分钟前
Staff
Joined:2018-02-08 11:03
嗨Wisilica,

嗨Wisilica,

We don’t any document relative to Bluetooth 5 specifications that includes all the SDK features of the BLE 5. Be aware that the DA14585 does not support all the new features yet. If you want to add a feature, please clarify which feature you want to implement and then we let you know if it is supported or not.

谢谢, PM_Dialog

wisilica
Offline
Last seen:10个月3周前
Joined:2015-03-17 08:16
Hi,

Hi,

感谢你的及时回复。I would like to use the increased payload feature. In my application, I would like to send 256 bytes of data. So for that, what is the API to be called and how? Should the application fragment the 256 bytes into smaller packets, or will the stack automatically do so? Please suggest the steps required for the same.
此外,是否支持增加的数据速率功能?
Also, I am operating the devices over a custom BLE mesh. So, I would like to know the reliability of ble 5 communication over the mesh.
Are any ble 5 related sample codes available in the forum ?

SDK - 6.0.4
HW - DA 14585

PM_Dialog
Offline
Last seen:8小时18分钟前
Staff
Joined:2018-02-08 11:03
嗨Wisilica,

嗨Wisilica,

It is strongly recommended to use SDK6.0.8. This feature is called Data Length Extension (DLE) where you are able to add up to 251 bytes of user data. Please take a look into CFG_MAX_RX_PACKET_LENGTH and CFG_MAX_TX_PACKET_LENGTH definitions of da1458x_config_advanced.h header file. This is also supported in SDK6.0.4 but we highly recommend to use SDK6.0.8. Regarding the Mesh, this feature is BLE 5 compliant, but the source code will be published very soon.

谢谢, PM_Dialog

wisilica
Offline
Last seen:10个月3周前
Joined:2015-03-17 08:16
Hi,

Hi,

谢谢for your reply. But please explain the usage of this length, and the API s to be used for the advertisement of this extended payload.

谢谢

PM_Dialog
Offline
Last seen:8小时18分钟前
Staff
Joined:2018-02-08 11:03
嗨Wisilica,

嗨Wisilica,

The GAPC_SET_LE_PKT_SIZE is the operation that will be sent therefore you are correct and the app_easy_gap_set_data_packet_length() API will send and set the data length on runtime. Please make sure that the CFG_MAX_TX_PACKET_LENGTH and CFG_MAX_RX_PACKET_LENGTH definitions are set with proper DLE (Data Length Extension packet size as well). The CFG_MAX_TX_PACKET_LENGTH is the Maximum supported TX data packet length and the CFG_MAX_TX_PACKET_LENGTH is the Maximum supported RX data packet length according to BLE 4.2 Specifications

谢谢, PM_Dialog

wisilica
Offline
Last seen:10个月3周前
Joined:2015-03-17 08:16
Hi,

Hi,

感谢你的及时回复。我们有任何示例来展示此API的使用情况吗?另外,当我们必须发送256字节的数据时,我们必须将数据分段,或者API会照顾这件事吗?
Also, is the increased data rate feature supported in the SDK 6.0.4?

谢谢

PM_Dialog
Offline
Last seen:8小时18分钟前
Staff
Joined:2018-02-08 11:03
嗨Wisilica,

嗨Wisilica,

We do not have any example to demonstrate the usage of this API and the API will take care of this. Yes, the increased data rate feature is supported in the SDK 6.0.4 but we highly recommend you to use SDK6.0.8

谢谢, PM_Dialog

wisilica
Offline
Last seen:10个月3周前
Joined:2015-03-17 08:16
Hi,

Hi,
所以你能请解释数据速率的增加feature can be implemented?

PM_Dialog
Offline
Last seen:8小时18分钟前
Staff
Joined:2018-02-08 11:03
嗨Wisilica,

嗨Wisilica,

使用正确的DLE报文配置DA1458x_config_Advanced.h标题文件的CFG_MAX_RX_PACKET_LENGTH和CFG_MAX_TX_PACKET_LENGTH定义。然后,您应该修改user_config.h标题文件的user_gapm_conf结构的.max_txoctets和.max_txtime。此外,您应该使用MTU大小.max_mtu = 247.请检查user_gapm_conf结构的附加示例代码。如果要传输256个字节,则需要传输2个DLE数据包。第一个数据包将包含247 + 3字节偏见者以及数据的其余部分。根据BLE规格,您可以在一个数据包中发送251字节最大。请注意,数据包的最大大小与SIG规范和功耗相关。此外,我非常暗示您为DA14585 SoC的DSP应用程序。此应用程序使用数据长度扩展。请搜索USE_DLE哈希定义。

谢谢, PM_Dialog

wisilica
Offline
Last seen:10个月3周前
Joined:2015-03-17 08:16
Hi,

Hi,

谢谢你的回复,但我无法找到附加的任何示例代码。

谢谢

wisilica
Offline
Last seen:10个月3周前
Joined:2015-03-17 08:16
Hi,

Hi,
“请检查user_gapm_conf结构的附加示例代码。”
我无法找到附加的示例代码。请提供相同的。

谢谢
Wisilica

PM_Dialog
Offline
Last seen:8小时18分钟前
Staff
Joined:2018-02-08 11:03
嗨Wisilica,

嗨Wisilica,

Probably the example code did not uploaded correctly, but contains what I have mentioned in my previous post. Please, find it attached.

谢谢, PM_Dialog

Attachment: