[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [paho-dev] java client disconnect while registering
|
Hello,
I just realized that my messageArrived implementation threw an exeption
while parsing payload.
I did not expect that it would break the connection, but it does.
Correct parsing did the trick.
Thank you for helping.
Mathieu
Le 13/10/2014 15:29, Ian Craggs a écrit :
Hello Mathieu,
is there any log message from Mosquitto to explain this?
Can you subscribe to Mosquitto successfully with other applications
and receive the messages your Android application is publishing?
Ian
On 10/11/2014 11:20 AM, Mathieu GRENET wrote:
Hello,
I try to implement a solution using mqtt on android (4.4)
I can connect, and publish it stay connected with no problem.
but I cannot get subscribing to work.
Every time i try to "client.subscribe" it fires lostconnection, and
i'm actually disconnected.
The broquer is latest mosquitto windows (1.3.5)
jav library is org.eclipse.paho.client.mqttv3-1.0.0.jar
anyone did ever get that ?
Thank you
Mgth
_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or
unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev