Hello,
I am trying to merge mqtt_simple and gps together. Each of them is working well on Thingy:91.
1. I am using lte_lc to configure the modem and enable PSM and eDRX.
How do I know if the modem enters PSM/eDRX mode?
Should I call something like AT+CEREG=5 using at_cmd_set?
Can I ask for a simple example on how to doing it?
2. is lte_lc_psm_req(true) using the parameter set from Kconfig?
such as
CONFIG_LTE_PSM_REQ_RPTAU="00000110"
CONFIG_LTE_PSM_REQ_RAT="00000010"
3.
"eDRX wake-up-and-listen period is 1ms.
Under PSM, a device will wake and receive and transmit control messages for about 100-200ms"
But how do I know how long the time is needed to transmit one packet?
For example, I want to send nmea data using MQTT every 2 seconds. But the data length received from nmea is not fixed.
Thank you in advance for your help.
Best Regards,
Leo