PCB/Board designs | 2 min | 1692
android thingsnrf24raspberry pisensors
Out with the old, in with the new: may you be happy the whole year through!!!
Happy New Year!
This week has been a very busy one for me. But 2017 starts, and I have some new codes to publish!
How I start? Ok, I've been working (may be playing) with Android Things using a Raspberry Pi v3, and I've been rewriting some of my libraries!.
First, I thought, let's try SWIG and wrap the C/C++ codes to use them with Java. But, then I realized, that I needed a wrapper in wrapper, which I think is not possible (I am not an expert with these things, so if I am wrong, please leave a comment, I would appreciate that!).
RF24library need to use java/android libraries (e.g.
PeripheralManagerService) to control the
GPIO, so I decided to re-write this class using Java, but then
RFMesh. So I've re-written all the three libraries using Java. Rewriting the classes was a kind of hard work (it took me three/four evenings), but now it works! So, I am really happy!.
I leave here the link to the
RF24Meshlibrary (still in
C++) for the TI Launchpads (almost no-modification from the original), and I will be posting tomorrow the Java libraries for Android Things with some explanations!
Stay tune! I will posting a lot of code for #ProjectDIVA during tomorow and the next days!!! and again Happy 2017!!!
Things used in this project
EK-TM4C1294X x 1 MSP430G2553 x 1 MSP430F5529LP x 1 nRF24L01+ x 3 CP2102 USB to TTL x 3
Software and Libraries
RF24 & RF24Network
More Info & Help
Original documentation: http://tmrh20.github.io/RF24Mesh/