I have a specialized application in which I'm using an Android and IOIO to collect data with the ADC over 12 channels. The complicated part of my application is I need to transfer the data from the Android device to another Android in real time (over 4G). Using typical Http POST, GET is not sufficient (even using memcache) because of the latencies from mobile carriers while connecting to my server. A typical latency for a mobile carrier is over 100ms. This is not acceptable for me. So, I created a Websocket on my server using socket.io. This allows me to keep a persistent connection and stream my data. I've tested the data streaming with a test data stream and I have eliminated the latency problem. That part is working great. Here is my problem. When I use a regular Android activity, everything works great with test data. However, when I use IOIOActivity and the looper class, I noticed my data is getting interrupted every 5 sec. or so. I then checked the LogCat and noticed that it keeps trying to connect to the IOIO via Bluetooth. I have two IOIO boards but one is damaged and the other is disconnected because I'm in the middle of building a prototype data acquisition system with it. If I turn Bluetooth off on the Android, my data stream of test data works without any interruptions. My question is if you know whether this Bluetooth connection interruption will continue if I have a direct connection to the IOIO or if a Bluetooth gets a successful connection? I would test it, but I'm in the middle of building a prototype with my good IOIO board. Thanks for any help regarding this.
-- You received this message because you are subscribed to the Google Groups "ioio-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/ioio-users. For more options, visit https://groups.google.com/d/optout.
