afLib3 for Arduino API

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

The library includes the following functions:

We also describe the callback function you should write to work with afLib3:

If you need code examples that use the deprecated C++ afLib, download the archive file (.zip).