afLib3 for Arduino is an Arduino library (for use with Arduino 1.6 and later) to communicate with an Afero Secure Radio module over serial interfaces such as SPI and UART. The library is written in C and provides a simple, lightweight API that provides all the functionality you should need to implement your application. You can download the library from http://github.com/aferodeveloper/afLib3.
The library includes the following functions:
arduino_transport_create_<protocol>()(supported protocols: SPI and UART)
We also describe the callback function you should write to work with afLib3: