This Ruby GEM provides a RESTFul service for the UDOO Neo GPIO's, the inbuilt motion sensors (Accelerometer/Magnetometer/Gyroscope) and the Bricks Snap-in Sensors (Barometer/Temperature). Details can be found here: https://github.com/marksull/udooneorest Hopefully this will help those that want to monitor/manipulate the UDOO NEO remotely (like me!!). The paint is still drying, so shoot me a message if you have any issues.
@markskull, this is fabulous. Thanks for doing this. I wanted to know whether you have attempted capture Wifi and Bluetooth data as well?
Nice work .... would be nice to have some kind of UI on top of this (perhaps in udoo-web-conf). I don't know if there are standard APIs / interfaces for dealing with hardware (gpio / pwm / i2c / .....), something like the Java Device IO API (http://docs.oracle.com/javame/8.0/api/dio/api/index.html) Are you guys aware of any (de-facto) standard APIs for accessing hardware ? I'm thinking about REST interfaces / API definitions / existing frameworks. Different implementations for different boards could be offered through a standard API, and people could then build their own UIs on top of that or choose something off-the-shelf that implements these interfaces / APIs). I'd be happy to help work on this, do some investigation, do some testing, .....
Hey @Asterix, no I had not looked at wifi/bluetooth. A quick look at the neo docs and I didnt see anything I think I could expose, but I will have a closer look this week. If you have a specfic set of data you want exposed via the REST let me know.
Hey @ddewaele, what you suggest makes a lot of sense, but Im not aware of any such standard API (otherwise i would have saved myself the effort )
Perhaps this is an opportunity to begin a standard I can imagine there's room for implementations in both ruby / python / java / nodejs / c++ ... depending on the target board.
There was an issue reported setting the GPIO value, which has now been fixed. If you had previously installed this gem, use "gem update udooneorest" to get the latest. https://github.com/marksull/udooneorest/issues/1
There was an issue reported where the GPIOs on the internal header were not exposed via this API. If you had previously installed this gem, use "gem update udooneorest" to get the latest. https://github.com/marksull/udooneorest/issues/2
Folks, was someone looking for a way to control 9-axis motion sensors via M4 on UDOO NEO? Here' s the documentation: http://www.udoo.org/docs-neo/Arduin...e_9-axis_motion_sensors_from_the_M4_Core.html