The MQTT spec says "If the Keep Alive value is non-zero and the Server does not receive a Control Packet from the Client within one and a half times the Keep Alive time period, it MUST disconnect the Network Connection to the Client as if the network had failed"
IS: currently in our library Ping interval is fixed at 15s, but KeepAlive is set by the user. In the example it is set to 60 seconds.
SHUOLD: The ping interval should be set equal to the KeepAlive time
In trunk with 0.9.0.4
Reopened, because currently it is set at T#15ms, for a keep alive of 15 (seconds).
This is one thousand times smaller than it should be.
Just slap 1000* in between the TO_TIME conversion, problem solved.