Shalom!
I have using the nRF9160 examples created an application for a future proposed custom board that when there is external power should always stay connected to our TCP server in LTE-M mode.
Like in the UDP example main.c file, I call modem_init(), configure_low_power() & then modem_connect().
After LTE-M network connection, I connect to our TCP server successfully but then I get a RRC change to Idle notification and then no TCP server requests are received.
We have another project using a different modem that connects to the LTE-M network that is always accessible in external power mode.
I tried changing the the proj.conf file fields and also lte_lc_psm_req(false);
The same board will need to use the LTE-M's power saving modes when only a battery is connected.
How can I have the nFR9160 always connected without going to idle?
What am I doing wrong?
This is the first time I have had to address the PSM & RPTAU & RAT directly.
Thanks