FreeCalypso > hg > ice1-trau-tester
diff ater/out_frame.h @ 21:2ee910aa03c3
ater: implement TRAU frame filling
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 24 Jun 2024 09:20:54 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ater/out_frame.h Mon Jun 24 09:20:54 2024 +0000 @@ -0,0 +1,15 @@ +/* + * This header file defines the interface to the function that + * fills struct osmo_trau_frame based on a 34-byte binary record + * we read from our ad hoc TRAU testing file format. + */ + +#pragma once + +#include <stdint.h> +#include <stdbool.h> + +#include <osmocom/trau/trau_frame.h> + +void trau_frame_from_record(const uint8_t *rec, bool is_efr, + struct osmo_trau_frame *fr);