|
查看: 2528|回复: 3

[BLE SDK] BLE Sleep Mode

[复制链接]

4

主题

5

回帖

74

积分

不屈白银

积分
74
发表于 2025-7-25 14:04:06 | 显示全部楼层 |阅读模式 来自 广东
Information
说明:   建议参照本版块置顶帖内容输入必要信息
芯片型号: 8208
SDK及版本: -
Requirement "Sleep Mode Level 1 after 30 second of idle" & "Sleep Mode Level 2 after 30 minute or idle"

Based on the requirement i need to configure the sleep mode. but i notice than in BLE Status Polling, when the ble_status_aaa == T5S_CONNECTED_STATUS_AAA, the device will enter the sleep after 60 second being idle. This match to the "Sleep Mode Level 2" where enter deep sleep when the ble is currently connected and working.
image.png

For Sleep Mode Level 1, i notice that in the BLE Power Manager, the if the device is not active, it will enter the suspend mode. therefore do i still need to implement the "idle count > 30 seconds" condition ? And Is there any value limit that i can set to compare with idle count (like if i want compare the idle count with 30 minute) is that able (guide me on how can i decide that).
image.png

145

主题

338

回帖

1588

积分

管理员

积分
1588
发表于 2025-7-25 15:40:44 | 显示全部楼层 来自 上海
Why did you set these two requirements?

4

主题

5

回帖

74

积分

不屈白银

积分
74
 楼主| 发表于 2025-7-25 15:46:18 | 显示全部楼层 来自 广东
i was given the task to enable two different sleep mode level, where in sleep mode level 1 only can be awaken by timer | pad while the sleep mode level 2 only by pad.

145

主题

338

回帖

1588

积分

管理员

积分
1588
发表于 2025-7-25 17:32:34 | 显示全部楼层 来自 上海
When you call the sleep function, set the correct wake-up source. If you need to use sleep mode level 1, set timer and pad. If you need to use sleep mode level 2, only set pad.
The time-based judgment conditions can be handled using the "clock_time" function.

本版积分规则

关注公众号
隐私政策|Telink forum

相关侵权、举报、投诉及建议等,请发 E-mail:forum@telink-semi.com

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.|沪ICP备17008231号-1 |沪公网安备31011502403548号

在本版发帖返回顶部