First, I’m gonna put you guys in context:
I am developing a desing for EEG using Spark, so I currently can get the wave form through Serial port of Spark and visualize it in Matlab. I had to turn off the cloud due to sample rate I needed is higher than loop with spark cloud on. Now, if I want to visualize this wave form in my cellphone I need to turn on wifi, send data and turn off wifi afterwards so I can get more data… and so on. I fear that the time between sending code to turn on wifi and connect the cloud be late (a couple of seconds), but it’s a trouble that I could see at another time.
I know that my startpoint is to use the andoid app source code.
I get 216 bits for each data (there are 9 channels with 24 bits each one, I got 216bits as one), which are 500 (my sample rate) data per second. What I need is to store them for maybe (not exactly) 10 seconds while wifi is turned off and then send them. Using serialprint I don’t have any problem because I get the data and automatically send it (do not need the cloud).
My point is: Anyone could point me out a good place to start if I want store too many data so I can send them through cloud. It is possible? I would be very grateful.
I am sorry for the parchment by the way.