FreeCalypso > hg > ice1-trau-tester
annotate ater/out_frame.h @ 38:f7a1a2765e21
README: update for current state
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 29 Aug 2024 19:42:22 +0000 |
parents | 2ee910aa03c3 |
children |
rev | line source |
---|---|
21
2ee910aa03c3
ater: implement TRAU frame filling
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 /* |
2ee910aa03c3
ater: implement TRAU frame filling
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 * This header file defines the interface to the function that |
2ee910aa03c3
ater: implement TRAU frame filling
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 * fills struct osmo_trau_frame based on a 34-byte binary record |
2ee910aa03c3
ater: implement TRAU frame filling
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 * we read from our ad hoc TRAU testing file format. |
2ee910aa03c3
ater: implement TRAU frame filling
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 */ |
2ee910aa03c3
ater: implement TRAU frame filling
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
2ee910aa03c3
ater: implement TRAU frame filling
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 #pragma once |
2ee910aa03c3
ater: implement TRAU frame filling
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
2ee910aa03c3
ater: implement TRAU frame filling
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 #include <stdint.h> |
2ee910aa03c3
ater: implement TRAU frame filling
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 #include <stdbool.h> |
2ee910aa03c3
ater: implement TRAU frame filling
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 |
2ee910aa03c3
ater: implement TRAU frame filling
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 #include <osmocom/trau/trau_frame.h> |
2ee910aa03c3
ater: implement TRAU frame filling
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 |
2ee910aa03c3
ater: implement TRAU frame filling
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 void trau_frame_from_record(const uint8_t *rec, bool is_efr, |
2ee910aa03c3
ater: implement TRAU frame filling
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 struct osmo_trau_frame *fr); |