I am using a UDP connection to exchange data over MQTT-SN protocol (SN is the sensor-network, that uses UDP connection).
And, I am facing a silent problem, which is the UDP connection being closed for time out (as described by the UDP hole punch).
This problem is not under my control as far as I know, not related to module or the other side, but reading on internet, it is more related to Routers and NAT.
I know that if I implement a heartbeat, then the problem is solved. But, due to data transfer constraints, I cannot rely on such a solution.
Is there any other solution for this?