Hello,
We are trying to use `nrf_modem_lib_shutdown` to turn off the modem before entering system OFF mode. We are using LTE link control, with the following LTE settings:
CONFIG_LTE_LINK_CONTROL=y
CONFIG_LTE_AUTO_INIT_AND_CONNECT=n
CONFIG_LTE_NETWORK_TIMEOUT=10
CONFIG_LTE_NETWORK_USE_FALLBACK=n
CONFIG_LTE_EDRX_REQ=y
CONFIG_LTE_EDRX_REQ_VALUE="0000"
We've noticed that it seems the `nrf_modem_lib_shutdown` function takes around a minute to complete, and were wondering if there is something else impacting this time and if there's anything we can do to shorten it. The current flow of the system OFF workflow is to close any open sockets, call nrf_modem_lib_shutdown, and call nrf_regulators_system_off(NRF_REGULATORS_NS).
We are on: ncs v1.5.0 with zephyr OS v2.4.99