view ater/out_frame.h @ 52:626180a15857 default tip

ater play-d144: emit E-data frames manually, osmo_trau_frame_encode() is currently broken for this frame type
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 25 Sep 2024 06:40:43 +0000
parents 2ee910aa03c3
children
line wrap: on
line source

/*
 * 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);