Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Android - Paho Mqtt client does not receive messages once network connectivity changes (mobile data disabled and enabled again)

As a test case, could you do the following with your pure Java sample, please ?

1. Keep the keepAlive very low, say, 5 seconds.
2. Use the mosquitto broker on your desktop with debug turned on.
3. Do your connect and disconnect. You should see a sequence of CONNECT, CONNACK and other messages. That should provide a hint.

I am trying to establish the behavior of MQTT connect/disconnect and the network layer connect/disconnect.

Back to the top