完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好,
在蓝牙4.2中,有API调用CyByLyEnLyLPM(CyByLyBelsIsHOLD),允许蓝牙进入低功耗睡眠模式。对于蓝牙5,蓝牙是否可以类似地进入睡眠模式? 对于蓝牙5的等效API调用CythBulyStaskCalpLPM(CythEnEnLeLyLpL.MoDEYT pWRMODE),枚举器CythEnLeByLyLpMyDyt仅具有以下值:CythBulyBelsIsAc能能能能行,CysBulyBelsSeBeSt入睡,CythBulyBelsIsHub无效。CythBulyBelsyS睡觉似乎不是一种选择。 以上来自于百度翻译 以下为原文 Hi there, In Bluetooth 4.2, there was the API call CyBle_EnterLPM(CYBLE_BLESS_SLEEP) that allowed bluetooth to enter low power sleep mode. For Bluetooth 5.0, is it possible for bluetooth to similarly enter sleep mode? For Bluetooth 5.0's equivalent API call Cy_BLE_StackEnterLPM(cy_en_ble_lp_mode_t pwrMode), the enumerator cy_en_ble_lp_mode_t only has the following values: CY_BLE_BLESS_ACtiVE, CY_BLE_BLESS_DEEPSLEEP, CY_BLE_BLESS_INVALID. CY_BLE_BLESS_SLEEP does not seem to be an option. |
|
相关推荐
3个回答
|
|
你好,
有什么特殊的原因,你想要正确的睡眠模式吗? 谢谢, 希马 以上来自于百度翻译 以下为原文 Hello , Is there any particular reason by which you want the BLESS_SLEEP mode exactly? Thanks, Hima |
|
|
|
嗨,希玛, 我们正在考虑将CPU和BLE置于不同的电源模式:睡眠、深度睡眠、低功耗等。之前,它需要将BLE置于特定的电源模式之前,也将CPU置于一定的功率模式。因此,我们试图在将CPU置于睡眠模式之前将BLE置于睡眠模式。 以上来自于百度翻译 以下为原文 Hi hima, We are looking to put the CPU and BLE to different power modes: sleep, deep-sleep, low-power, etc. Before, it was required to put the BLE to a specific power mode before also putting the CPU to a certain power mode. So we are trying to put the BLE into sleep mode before putting the CPU into sleep mode. |
|
|
|
Emily1225 发表于 2018-11-5 17:01 你好, 在进入系统级睡眠或深度睡眠模式之前,您不必调用任何特定于低功耗的低功耗API。简单地配置BLE组件使用低功耗模式,并确保在进入低功耗模式之前BLE堆栈处于开启状态。BLE会自动照顾它的低功耗进入。此外,如果发生了需要进一步处理的BLE事件,BLE将从低功率模式唤醒系统。下面是一些使用BLE和低功耗模式的代码示例供您参考: CE212736-PSOC 6 MCU与蓝牙低能量(BLE)连接-查找ME(简单示例) CE220167 PSoC 6 MCU与蓝牙低能量(BLE)连接:BLE与用户界面(处理复杂的系统级低功耗方案) 如果你有任何其他问题,请告诉我。 -尼丁 以上来自于百度翻译 以下为原文 Hello, You don't have to call any BLE specific low power APIs before entering system level Sleep or Deep Sleep modes. Simply configure the BLE component to use low power modes and make sure that BLE stack is on before entering low power modes. BLE will automatically take care of it's low power entry. In addition, BLE will wake up the system from low power modes if a BLE event has occurred that required further processing. Here are some code examples that use BLE and low power modes for your reference: CE212736 - PSoC 6 MCU with Bluetooth Low Energy (BLE) Connectivity - Find Me (simple example) CE220167 PSoC 6 MCU with Bluetooth Low Energy (BLE) Connectivity: BLE with User Interface (handles a complex system-level low power scenario) Please let me know if you have any additional questions. -Nidhin |
|
|
|
只有小组成员才能发言,加入小组>>
754个成员聚集在这个小组
加入小组2103 浏览 1 评论
1849 浏览 1 评论
3667 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1784 浏览 6 评论
1534 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
566浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
420浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
435浏览 2评论
381浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
913浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-22 23:49 , Processed in 0.874351 second(s), Total 80, Slave 64 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号