ADA crate for interfacing to the UHPPOTE access controllers.
  • Ada 69.6%
  • HTML 24.5%
  • Go 4.7%
  • Makefile 1.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-08 09:59:44 -07:00
.codegen Updated compiler switches for MacOS 27+ARM64 2026-10-06 10:09:35 -07:00
.github/workflows Updated compiler switches for MacOS 27+ARM64 2026-10-06 10:09:35 -07:00
adadoc firstcard: added first-card privileges to get-card, get-card-at-index and put-card (cf. https://codeberg.org/uhppoted/uhppoted/issues/3) 2026-08-26 07:46:09 -07:00
examples/cli Updated compiler switches for MacOS 27+ARM64 2026-10-06 10:09:35 -07:00
integration-tests TCP: fixed bug in socket initialisation 2026-10-08 09:59:44 -07:00
lib TCP: fixed bug in socket initialisation 2026-10-08 09:59:44 -07:00
.gitignore Preparing to publish draft release 2026-06-16 07:56:47 -07:00
API.md firstcard: added first-card privileges to get-card, get-card-at-index and put-card (cf. https://codeberg.org/uhppoted/uhppoted/issues/3) 2026-08-26 07:46:09 -07:00
CHANGELOG.md Updated compiler switches for MacOS 27+ARM64 2026-10-06 10:09:35 -07:00
LICENSE Initial commit 2026-02-02 12:10:54 -08:00
Makefile Added send-to-self check and retry logic (cf. https://codeberg.org/uhppoted/uhppoted/issues/4) 2026-09-24 11:51:11 -07:00
NOTES.md Renamed Protocol to Transport 2026-06-04 09:25:00 -07:00
README.md Updated compiler switches for MacOS 27+ARM64 2026-10-06 10:09:35 -07:00
TODO.md TCP: fixed bug in socket initialisation 2026-10-08 09:59:44 -07:00

build Alire

uhppoted-lib-ada

Standalone ADA library for the UHPPOTE access controllers.

A basic example CLI illustrating the use of the library can be found in the examples folder.

Release Notes

Current Release

v0.3.0 - 2026-09-07

  1. Migrated from github.com/uhppoted/uhppoted-lib-ada to codeberg.org/uhppoted/uhppoted-lib-ada.
  2. Added set-firstcard API to configure controller managed door first-card access.
  3. Added first-card privileges to get-card, get-card-at-index and put-card APIs.

Installation

Using Alire:

alr with uhppoted_lib

Development

Requirements:

  • gnat 15.1.2+
  • Alire 2.1.0+

Building from source

Assuming you have Alire, gnat 15.12+ and make installed:

git clone https://codeberg.org/uhppoted/uhppoted-lib-ada/uhppoted-lib-ada.git
cd uhppoted-lib-ada
make build-all

If you prefer building manually:

git clone https://codeberg.org/uhppoted/uhppoted-lib-ada/uhppoted-lib-ada.git
cd uhppoted-lib-ada
cd lib && alr build
cd ../examples/cli && alr build
cd ../integration-tests && alr build

Notes:

  1. Building on MacOS Tahoe generates the following warning:
`clang: warning: overriding deployment version from '16.0' to '26.0' [-Woverriding-deployment-version]`

This is known bug in the GNAT FSF builds which mistakenly interprets the OS version for Tahoe (v26.x) as version 16.0:

  1. clang: error: invalid version number in '-mmacosx-version-min=18.0'

This is known bug in the GNAT FSF builds which doesn't correctly handle the Apple Silicon OS versioning:

lint

  1. The .gpr file specifies -gnatwa and -gnatWe.
  2. AdaControl reports [..] array delimiters as illegal characters although they have been recommended since ada2022.

API

The API is documented in the API.md file - for convenience the available functions are listed below:

License

MIT.