找回密码
 立即注册

微信扫码登录

楼主: Flole

[BLE SDK] Missing retransmits causing connection drops

[复制链接]

48

主题

204

回帖

855

积分

版主

积分
855
发表于 2025-7-7 09:57:43 | 显示全部楼层 来自 上海
It is an error that you changed the CHAR_PROP_NOTIFY in my_batCharVal to CHAR_PROP_INDICATE, because Battery Level only can be Read or Notify, so please don't change it. You can refer to https://www.bluetooth.com/specifications/specs/battery-service/

3

主题

10

回帖

115

积分

荣耀黄金

积分
115
 楼主| 发表于 2025-7-7 20:29:00 | 显示全部楼层 来自 德国
That was an attempt to do as little modification to the sample as possible to reproduce the issue. In my real application I added a new service with the indicate property.

I can add a new service which then sends out the indicate if you think that makes a difference for reproducing this issue. Just let me know if I should try that. This change was just to reproduce the issue with minimal changes possible to the example. There is no example which already uses the indicate functionality as far as I can see, otherwise I would have used that. Maybe you could add a test for the indicate feature to the feature test project so I can use that?

48

主题

204

回帖

855

积分

版主

积分
855
发表于 7 天前 | 显示全部楼层 来自 上海
本帖最后由 TL_SW 于 2025-7-9 09:01 编辑

Sorry, I just noticed that you previously mentioned setting the connection interval to 2750ms and the latency to 7. These parameters will cause the slave to disconnect. The SDK supports a maximum sleep interval of 3 seconds during connection when using 32kRC. You can refer to the handbook for more details: https://doc.telink-semi.cn/doc/e ... ck-source-selection.
However, the problem you encountered is indeed something that should be handled within the SDK. We will find a way to avoid this issue later. Thank you
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Telink forum ( 沪ICP备17008231号-1 )

GMT+8, 2025-7-15 07:43 , Processed in 0.086235 second(s), 19 queries .

Powered by Telink 隐私政策

泰凌微电子版权所有 © 。保留所有权利。 2024

快速回复 返回顶部 返回列表