Aliro integration in the reference applications
This page explains how the Aliro stack is integrated into the nRF Door Lock and Access Control Add-on. It covers the layered architecture, the application interface contract, and where the stack library lives in the source tree.
Architecture overview
The Nordic Aliro solution is built on the nRF Connect SDK (Zephyr RTOS and required modules). The Aliro stack implements the Access Protocol logic, Aliro-specific cryptographic primitives, and communication with the User Device. The interfaces layer connects the stack to the application through backends for NFC, Bluetooth LE, Ultra-Wideband (UWB), and crypto. Custom backends can replace the default NFC and UWB implementations by implementing the provided APIs.
Aliro stack library
The Aliro stack library files are located in lib/aliro.
The stack is precompiled and linked as a static library to the application.
Application interface contract
The application implements the stack-defined interfaces in applications/*/src/aliro/interface_impl/
and calls the Aliro stack public API to drive sessions and handle events.
For sequence diagrams and interaction flows between the application, Aliro stack, and transport backends,
see Aliro application interactions.