I have created a generic web service for IOIO-OTG devices. It was created back before the switch to Gradle, so all of the build stuff would need to be re-done. I have never tested it, and thus I assume it won't work, on an Android device, but it works great on Windows and Linux. I have even ran it on Raspberry Pi, and Raspberry Pi 2. Basically, it has an embedded Tomcat server running, and it makes available the 26 pins of the IOIO. It doesn't support all modes, but basic digital in/out as well as analog inputs are supported (I even think I made PWM work).
It has 2 main parts. First, there is a configuration web-page, which allows you to assign a name to each pin, and configure its mode (Digital Input with Pull-Up, vs. Analog Input, etc). Then, there are simple URL's that you can hit to either set the output data, or else read the state of input pins. Thus, overall, it seems like it would do what you want, as long as you are good using the IOIO-OTG together with Linux or Windows instead of Android. I have a crazy busy schedule this week and weekend, with some major deadlines on Monday. But if this sounds like it would meet your needs, and you don't urgently need it right now, then I can probably update the code to be compatible with the Gradle build system by February 13th, and share a new open source repository on GitHub. Let me know if that would be helpful for you. On Wednesday, February 3, 2016 at 12:18:25 PM UTC-7, Ytai wrote: > > So it seems like you're talking about HTTP (or even more specifically, > REST), not just WiFi. My answer was essentially how to forward the IOIO > connection over TCP. > I'm not aware of such an app, but I do remember that others have asked > about this in the past, so you may want to dig the forum and see whether > any of them has made any others and are willing to share their work. > On Feb 2, 2016 1:26 PM, "Jabberwock" <[email protected] <javascript:>> > wrote: > >> I am not sure I have understood you correctly... >> >> I was asking whether there is an app that would, e.g. run a webserver and >> directed the calls to the connected IOIO board. For example, if the phone >> address was 192.168.178.10, accessing 192.168.178.10/DigitalWrite#4#On >> <http://192.168.178.10/DigitalWrite#4%23On> would set the pin 4 of IOIO >> connected to the phone to HIGH. So I am not sure what the second Android >> device would be needed for... >> >> -- >> 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] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at https://groups.google.com/group/ioio-users. >> For more options, visit https://groups.google.com/d/optout. >> > -- 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 https://groups.google.com/group/ioio-users. For more options, visit https://groups.google.com/d/optout.
