您好,定义休眠模式为扩展休眠模式: #define CFG_MEM_MAP_EXT_SLEEP #undef CFG_MEM_MAP_DEEP_SLEEP 在休眠时调用函数如下: void set_sleep(void) { arch_ble_ext_wakeup_on(); arch_set_sleep_mode(ARCH_EXT_SLEEP_ON); } 休眠可以进入,但休眠时仍有广播发出; arch_ble_ext_wakeup_on();不是“Puts the BLE core to permanent sleep. Only an external event can wake it up.”吗?也就是让BLE core永久休眠,只有外部时间可以唤醒吗?,现在仍有广播说明BLE core还是会被唤醒的,为什么呢?
但我在休眠时时调用停止广播就没有广播发出了,BLE core也不在唤醒了,如下: void set_sleep(void) { app_easy_gap_advertise_stop(); arch_ble_ext_wakeup_on(); arch_set_sleep_mode(ARCH_EXT_SLEEP_ON); } 为什么呢?