MqttService icon indicating copy to clipboard operation
MqttService copied to clipboard

Is there any new modifications needed in light of newer Paho / MQTT server versions?

Open acrolink opened this issue 10 years ago • 2 comments

@dirkmoors

First Thanks very much for this code. it helped initiate a push notification service that runs in background even if app stopped. This is exactly what your code does.

I wanted to ask if there is any improvements you think can be done for this code in order to utilize latest features of MQTT server / recent Paho release. If so, would you provide some information as where to start and how to tune the existing code for latest updates. Thanks.

acrolink avatar Oct 17 '15 17:10 acrolink

Hello @acrolink,

Thank you for your message! I'm currently unable to update/add more features to this library. Feel free to contribute to the repository, I will review and merge with master if everything checks out!

Best regards, Dirk

dirkmoors avatar Oct 19 '15 07:10 dirkmoors

@dirkmoors

Thanks very much. Actually, your work proved valuable as I am learning from it new things in general about app development. As for push notifications, I have set up a MQTT server that I might use in the future for internal location based systems, some sort of closed communications between web apps / Android apps.

The idea behind MQTT is interesting but I am facing one major problem which is lost connections to server. I mean, initially messages are received by my phone but after some time messages don't arrive. It has to do with connections and keep-alives. It might be that I am overseeing something since your code is built to handle reconnecting and pinging etc..

I have also noticed that this behavior changes depending on which WiFi network I use etc.. Anyway, I will keep testing and updating. Thanks.

acrolink avatar Oct 19 '15 15:10 acrolink