Hi,
I am working on a project with nrf52832 and LIS3DH for a beacon.
I have added the low power feature into my application to go to standby mode in case of inactivity for a set period.
but when i add the following OTA Kconfig define in my project it stops entering the low power mode and also the DFU also doesn't work.
CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU=y
I tested it both ways :
- If I remove the low power from my project the OTA works fine.
- If I remove the DFU header the low power works fine.
SDK Version: ncs 2.9.0 (same toolchain)
Following is the Kconfig file i add to enable the Power Management hooks and the prj.conf file.
Kconfig:
# Copyright (c) 2022 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
menu "Zephyr"
source "Kconfig.zephyr"
endmenu
# module = APP
# module-str = Application
# source "subsys/logging/Kconfig.template.log_config"
config APP_PROVIDE_PM_HOOKS
bool "Application provides PM hooks"
default y
select HAS_PM
-------------------------------------------------------------------------------------------------------Looking forward to any help in the matter.
Regards,
Salman