eclipse-paho / eclipse-paho/paho.mqtt.java

Not able to Enable and Disable the KeepAliveInterval while connection is active

Open
#482 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
Java
Stars
2.3k
Forks
919
PR merge metrics
No merged PRs in 30d

Description

Can you please let me know, Is there any way to enable and disable the KeepAliveInterval Or Change the keepAliveInterval time while connection is active.

And If Connection is active and If we changed the date time on Android Device , It will through the following exceptions and happen disconnect and reconnect issue:

throw ExceptionHelper.createMqttException(MqttException.REASON_CODE_WRITE_TIMEOUT); from ClientState.java file.

- [ Yes] Bug exists Release Version 1.2.0 ( Master Branch)
- [ Yes ] Bug exists in Snapshot Version 1.2.1-SNAPSHOT (Develop Branch)
- [ Yes ] Bug exists in MQTTv5 Version (mqttv5-new Branch)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.