Hacker News new | past | comments | ask | show | jobs | submit login

I suspect you could accomplish this with NERVES without too much trouble. I'd start with an Erlang port[1] that uses Linux's built-in SPI support to interact with the device itself. If you need something a bit higher-level, you might adapt the RadioHead library.

[1] http://erlang.org/doc/tutorial/c_port.html




Actually, nerves has decent API support built in! The tricky part is getting all of the registers setup correctly for the radios. Alternately, there's a C++ library for it, that's gpl, but could be setup as a nif or a port.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: