找回密码
 立即注册

微信扫码登录

查看: 39|回复: 3

[BLE SDK] BLE Sleep Mode

[复制链接]

3

主题

1

回帖

27

积分

英勇黄铜

积分
27
发表于 前天 14:04 | 显示全部楼层 |阅读模式 来自 广东
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

48

主题

228

回帖

921

积分

版主

积分
921
发表于 前天 15:40 | 显示全部楼层 来自 上海
Why did you set these two requirements?

3

主题

1

回帖

27

积分

英勇黄铜

积分
27
 楼主| 发表于 前天 15:46 | 显示全部楼层 来自 广东
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.

48

主题

228

回帖

921

积分

版主

积分
921
发表于 前天 17:32 | 显示全部楼层 来自 上海
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 ( 沪ICP备17008231号-1 )

GMT+8, 2025-7-27 14:15 , Processed in 0.140230 second(s), 24 queries .

Powered by Telink 隐私政策

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

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