I built a device with spark for brains that talks over RS232 and collects data. Some of the data received can be as much as 1022 bytes (no more than that)
I have tried to send the data to my server over Spark.publish (63 byte max) and Spark.variable (622 byte max), and finally using the “httpclient” lib. All seem to choke on a payload this large.
I really am keen on using the spark platform for my device. Any ideas on how to deal with large payloads like this? Perhaps the upcoming photon will solve my problems? Perhaps spark isnt a great solution? The device I am trying to replace is a raspberry pi, which of course handles the data perfect. Looking for some advice.
Thanks!