- 08
Jan - 2017PCB/Board designs
2 min | 5438Table of contentShowOut 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!).
The
RF24
library need to use java/android libraries (e.g.PeripheralManagerService
) to control theSPI device
andGPIO
, so I decided to re-write this class using Java, but thenRF24Network
usesRF24
, andRFMesh
usesRFNetwork
andRFMesh
. 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
RF24Mesh
library (still inC++
) 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!RF24Mesh: https://goo.gl/bQbpsh 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
Hardware components
Software and Libraries
RF24 & RF24Network
More Info & Help
Original documentation: http://tmrh20.github.io/RF24Mesh/
Changelog
Revision v1.0
Credit
Fork from:
We use cookies to improve our services. Read more about how we use cookies and how you can refuse them.
Empty