Hi,
Somehow the thread " https://www.dialog-semiconductor.com/support-posts/da16200-mqtt-dpm " was bricked.
So opening this new one.
"""PM_Dialog
Hi Premsai,
According to our Team internally, we need some extra info regarding that issue. Please check below.
1. dpm status
2. mqtt configuration
Can you please share that screenshots from your side?
Regards,
PM_Dialog"""
Reply:
Since i'm not allowed to share confidential information some of the info are masked.Please find the snapshots.
Prem Sai
Hi Prem Sai,
Some more feedback...
DPMKA means "dpm keep alive" which is used to keep the connection with AP.
AT+DPMKA = 30, 30 means 30milliseconds.
DPMTIMWU means "dpm tim wake up" which is used to receive data from AP.
AT+DPMTIMWU=10, 10 means around 1second. DA16200 wakes up to check data from AP every 1second(10dtim).
So DPMKA should be longer than DPMTIMWU. 30000(30seconds) for DPMKA is no problem to reduce the current consumption.
AT+NWMQPING is used to keep the connection with broker. AT+NWMQPING=600 means DA16200 sends mqtt ping packet to mqtt-broker every 10mins.
To maintain the connection with AP, you need to use AT+DPMKA command and 30000(30sec) for AT+DPMKA is enough. According to your need, you can use 60000(60sec).
Regarding waking up every 10mins, if you want to reduce the current consumption, you can increase the ping interval with AT+NWMQPING.
PM_Dialog