ud3tn/test/aap2sendfile
Felix Walter df5775c07b aap2sendfile: Define _POSIX_C_SOURCE before including anything else
Otherwise there may be a re-definition in recursively included header
files.

Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2026-04-21 10:58:33 +02:00
..
main.c aap2sendfile: Define _POSIX_C_SOURCE before including anything else 2026-04-21 10:58:33 +02:00
README.md test: Implement C tools to send and receive files via AAP 2 2025-10-22 16:28:49 +02:00

aap2sendfile

This is a simple C utility to send a file as a bundle ADU via AAP2, which also serves as an example for using the µD3TN AAP2 C API.

It is mainly intended as a utility for testing and as an example how to use the C API. The code intentionally does not implement all features such as passing bundle flags or registering for already-used agent IDs with a secret.

For usage instructions, execute aap2sendfile -h.