android - Reliable, lightweight communication protocol for mobile -


i looking communication protocol use in mobile application. first target android, nice if supported in other platforms ios, osx , windows 8. main goals are:

it has energy efficient, messages sending small , there no communication of time (it's sensing, , updates not frequent)

it should support intermittent connectivity , guarantee message delivery important application not miss updates

should able support encryption or messages of sensor data contain privacy sensitive information

*should not require constant connection * application can put sleep when not in use. google cloud messaging works great when comes receiving messages server, problem having send clients without requiring keep connection active.

the previous version using xmpp , json messages, think bad idea, since requires constant connection, , not meant energy efficient.

i want use protocol buffers instead of json more compact representation , faster serialization, undecided on transport. mqtt came when searching, , may make sense, encryption support not great, , seems require keeping connection. wonder if there other suitable candidates consider. recommendations or thoughts?


Comments

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -