RF24Gateway - Creating Hybrid IoT Networks using TCP/IP and RF24Network
RF24Gateway is a new complimentary library to RF24Ethernet, designed for RPi and Linux based devices with SPI and GPIO capabilities (BBB, Intel Edison, Galileo, etc).
Similar to the previously used RF24toTUN application, the RF24Gateway library acts as a network/internet gateway, and allows Arduino/AVR based sensor nodes to communicate using TCP/IP. In addition to handling TCP/IP data, it allows normal interaction with the sensors using RF24Network messages as well.
RF24Gateway is set to replace the standalone RF24toTUN application.
In short, it allows hybrid IoT networks to be created using Arduino and nrf24l01 modules. Some nodes are capable of internet or local network communication using standard protocols (TCP/IP) and/or RF24Network messages, while other nodes can communicate only at the network level, using only the lower layer RF24Network messaging.
Libraries and code that utilizes RF24Network can utilize RF24Gateway in much the same way, since external data types (TCP/IP) are handled out of sight from the user. RF24Network is used exactly the same way, except that the gateway.update() function is called instead of network.update() or mesh.update().
Note: RF24Gateway defaults to using a TUN interface with RF24Mesh enabled. The RF24Ethernet examples will be updated to accommodate this.
March 2015: Initial Release - Code is stable. Documentation added. RF24 installer and other libs need updating.