Skip to content

Comment on MQTT – machine-to-machine connectivity protocol

Comments

MQTT works OK on Android via Paho library, but it seems that changes to upcoming "Android M" will reduce its usefulness.

In the scenario the phone would go to sleep, incoming data on a socket should wake it up - then you could grab a wakelock and do some work.

However with the new Doze mode(s) this no longer seems to be the case. Now the only way to wake the phone up externally now is with GCM.

Its too early to know for sure (more previews of M will be released) but I'm curious how this end.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.