Aliro Access Manager
This page describes the application-side access control component in the nRF Door Lock and Access Control Add-on. The Aliro Access Manager evaluates authentication results and UWB distance measurements to grant or deny access and drive lock actions. When the Access Manager decides to unlock or lock, it invokes application callbacks. In the nRF Door Lock and Access Control Add-on, those callbacks call the lock simulator. In a product, you would replace them with your real lock driver.
For a high-level description of how UWB ranging feeds into access decisions, see Ultra-wideband (UWB).
The Access Manager interface (access_manager.h) provides a unified API for handling access control logic in the application code.
The default implementation (access_manager) is designed to cover typical access control scenarios.
It makes access decisions based on the proximity of the Aliro User Device, as measured by UWB ranging, and the stored public keys, and - for NFC sessions - successful tap-to-unlock authentication.
Separate application callbacks signal access granted or denied and unlock or lock actions.
Configuring Access Manager
Access Manager behavior is controlled through Kconfig options set in prj.conf.
The following table lists the options you are most likely to adjust for UWB proximity policy, credential storage, and session termination.
Kconfig option |
Description |
|---|---|
|
Specifies the maximum allowed distance, in centimeters, measured by UWB ranging for granting access to the User Device. If the measured distance exceeds this value, access is denied. If the Aliro User Device is within this distance, access is granted. |
|
Set this option to |
|
Sets the maximum number of public keys that can be stored in the Access Manager. This option determines the size of the statically allocated memory for the Access Manager cache. |
|
Selects the method used by the Aliro Reader to terminate the UWB ranging session. This mechanism is important when the User Device does not terminate the ranging session on its own. Available suboptions include:
|