view trau-decode/Makefile @ 94:f9ef582c199c

tfo-ut: check in tfo-fr.bin and tfo-efr.bin Each of these binary files is an extract from MSC-side E1 timeslot recording in a Nokia TCSM2 TFO session involving a cross-connect between two TRAU channels. The extracts have been chosen to begin at the point where the TRAU starts emitting TFO frames, thereby beginning with a series of TFO frames that contain an embedded TFO_TRANS message. In each experiment, one of the two cross-connected TRAU channels emitted two "plain" TFO frames (not containing embedded TFO messages) in between the initial embedded TFO_TRANS and the subsequent embedded TFO_REQ_L; this channel was chosen for the present extracts. Each extract is thus 2560 PCM samples, containing 16 aligned TFO frames: 5 carrying TFO_TRANS, 2 plain, 9 carrying TFO_REQ_L.
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 18 Mar 2025 22:56:23 +0000
parents 5173515e1cc8
children 625be4b2922f
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	dump-1bit tfo-parse-fr16 trau-extr trau-hr-dump trau-hr-dump-hex \
	trau-parse trau-parse-hex trau-sync8

FR_OBJS=parse-fr.o parse-fr-common.o parse-efr.o
HR_OBJS=gsmhr_unpack.o hr-guts.o

TRAU16_OBJS=	parse-amr.o parse-data.o ${FR_OBJS}

all:	${PROGS}

dump-1bit:	dump-1bit.c
	${CC} ${CFLAGS} -o $@ $@.c

tfo-parse-fr16:	crc8gen.o parse-tfo16.o ${FR_OBJS}
	${CC} ${CFLAGS} -o $@ $^ -lgsmfr2 -lgsmefr

trau-extr:	extr-fr.o extr-efr.o extr-main.o
	${CC} ${CFLAGS} -o $@ $^ -lgsmfr2

trau-hr-dump:	crc8gen.o trau-hr-dump.o ${HR_OBJS}
	${CC} ${CFLAGS} -o $@ $^

trau-hr-dump-hex:	crc8gen.o trau-hr-dump-hex.o ${HR_OBJS}
	${CC} ${CFLAGS} -o $@ $^

trau-parse:	crc8gen.o parse-main.o ${TRAU16_OBJS}
	${CC} ${CFLAGS} -o $@ $^ -lgsmfr2 -lgsmefr

trau-parse-hex:	crc8gen.o parse-hex16.o ${TRAU16_OBJS}
	${CC} ${CFLAGS} -o $@ $^ -lgsmfr2 -lgsmefr

trau-sync8:	trau-sync8.c
	${CC} ${CFLAGS} -o $@ $@.c

clean:
	rm -f *.o ${PROGS}