Happy New Year!!!

#TI: Happy New Year 2017!!!

read ( words)

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!).

The RF24 library need to use java/android libraries (e.g. PeripheralManagerService) to control the SPI device and GPIO, so I decided to re-write this class using Java, but then RF24Network uses RF24, and RFMesh uses RFNetwork and 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 RF24Mesh library (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!

C++ 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

EK-TM4C1294X EK-TM4C1294X x 1
MSP430G2553 MSP430G2553 x 1
MSP430F5529LP MSP430F5529LP x 1
nRF24L01+ nRF24L01+ x 3
CP2102 USB to TTL CP2102 USB to TTL x 3

Software and Libraries

C++ RF24 & RF24Network

More Info & Help

Original documentation: http://tmrh20.github.io/RF24Mesh/

Changelog

Revision v1.0

Credit

Fork from:

{{ message }}

{{ 'Comments are closed.' | trans }}