I want to build an Android app that streams data from wireless sensors (about 3 kb/s) to my server.
To wake up the phone it turned out I cannot easily use a socket from my server, but need a GCM push notification. However, if Im implementing all the GCM stuff just to start streaming, it could be easier to use GCM for the datastream too, instead of my own websocket implementation.
The docs say a packet can be max 4 kb, and that should be enough if the device can reliable transmit them once per second. But since GCM wasnt designed for such fast interval and bandwiths, does anyone have experience if it would be feasible and reliable, or would it be better to open a direct connection to my server instead?