afLib API

afLib is an MCU library designed 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. The library is provided for several popular MCU platforms, including Arduino, and is easily ported to your preferred MCU platform, as needed.

The latest library version is afLib4; download it from

The library includes the following functions:

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

If you need to refer to the API documentation for afLib3, download the archive file (.zip).