My device subscribes to an AWS IoT topic and waits for 30min until it receives a message.
I see that if a message is published within 3-4 minutes, device receives it, but if the message is published after more than 5min, nothing is received by device. I don't see any disconnect/reconnect messages too. Device is not performing any task during this time, it just keeps on yielding using the function aws_iot_mqtt_yield .
I have also tried to fix this issue by changing keepAliveIntervalInSec but no luck. I tried with not setting it and with 300 sec, still I see the issue.
Any suggestions to fix.
Hi,
My device subscribes to an AWS IoT topic and waits for 30min until it receives a message. I see that if a message is published within 3-4 minutes, device receives it, but if the message is published after more than 5min, nothing is received by device. I don't see any disconnect/reconnect messages too. Device is not performing any task during this time, it just keeps on yielding using the function
aws_iot_mqtt_yield
. I have also tried to fix this issue by changingkeepAliveIntervalInSec
but no luck. I tried with not setting it and with 300 sec, still I see the issue. Any suggestions to fix.Thanks!