ADA crate for interfacing to the UHPPOTE access controllers.
  • Ada 69.3%
  • HTML 24.8%
  • Go 4.7%
  • Makefile 1.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-20 08:45:58 -07:00
.codegen Preparing release v0.9.1 2026-10-13 10:44:33 -07:00
.github/workflows Updated compiler switches for MacOS 27+ARM64 2026-10-06 10:09:35 -07:00
adadoc Preparing release v0.9.1 2026-10-13 10:44:33 -07:00
examples/cli Bumping version for next dev cycle 2026-10-20 08:45:58 -07:00
integration-tests Bumping version for next dev cycle 2026-10-20 08:45:58 -07:00
lib Bumping version for next dev cycle 2026-10-20 08:45:58 -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 Bumping version for next dev cycle 2026-10-20 08:45:58 -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 Bumping version for next dev cycle 2026-10-20 08:45:58 -07:00
TODO.md Bumping version for next dev cycle 2026-10-20 08:45:58 -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

0.9.1 - 2026-10-13

Feature parity

  1. Added check and retry for transport bound port conflict with destination port (send-to-self).
  2. Fixed compiler switches for building on MacOS 27.0.1.

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.git
cd uhppoted-lib-ada
make build-all

If you prefer building manually:

git clone https://codeberg.org/uhppoted/uhppoted-lib-ada.git
cd uhppoted-lib-ada
cd lib && alr build
cd ..
cd examples/cli && alr build
cd ..
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 License

Copyright (c) 2026 uhppoted

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

MIT.