payano / mMesh

Mesh implementation for embedded systems, focusing on a small footprint
MIT License
0 stars 1 forks source link

Create NRF24 adapter #27

Open payano opened 4 years ago

payano commented 4 years ago

NRF24L01 datasheet: https://www.sparkfun.com/datasheets/Components/nRF24L01_prelim_prod_spec_1_2.pdf It's good to know how to setup the data pipes for receiving and sending, pipe 0 is the broadcast address.

Information from tmrh20 blog, useful information to read up on: http://tmrh20.blogspot.com/

NRF driver on github: https://github.com/nRF24/RF24

Doxygen for the driver: https://tmrh20.github.io/RF24/

The modified driver implementation is found here: https://github.com/payano/mMesh/tree/master/src/network/RF24

The adapter is found here: https://github.com/payano/mMesh/blob/master/src/network/Nrf24.cpp

The user of the adapter is found here: https://github.com/payano/mMesh/blob/master/src/mesh/MeshNetworkHandler.cpp