FreeCalypso > hg > gsm-net-reveng
changeset 11:cdfeb81350f5
trau-files: generate gsmx extracts
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 24 May 2024 20:01:54 +0000 |
parents | 4d1732e4a143 |
children | 154586f0f423 |
files | .hgignore trau-files/Makefile |
diffstat | 2 files changed, 17 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/.hgignore Fri May 24 19:59:06 2024 +0000 +++ b/.hgignore Fri May 24 20:01:54 2024 +0000 @@ -6,3 +6,4 @@ ^trau-decode/trau-parse$ ^trau-files/.*\.dump$ +^trau-files/.*\.gsmx$
--- a/trau-files/Makefile Fri May 24 19:59:06 2024 +0000 +++ b/trau-files/Makefile Fri May 24 20:01:54 2024 +0000 @@ -1,10 +1,12 @@ EFR_BIN= e1_ts2_efr.bin FR1_BIN= e1_ts2_fr.bin PARSE_TOOL= ../trau-decode/trau-parse +EXTR_TOOL= ../trau-decode/trau-extr DUMPS= fr-leg1.dump fr-leg2.dump efr-leg1.dump efr-leg2.dump +GSMX= fr-leg1.gsmx fr-leg2.gsmx efr-leg1.gsmx efr-leg2.gsmx -all: ${DUMPS} +all: ${DUMPS} ${GSMX} fr-leg1.dump: ${FR1_BIN} ${PARSE_TOOL} ${PARSE_TOOL} ${FR1_BIN} 1 > $@ @@ -18,5 +20,17 @@ efr-leg2.dump: ${EFR_BIN} ${PARSE_TOOL} ${PARSE_TOOL} ${EFR_BIN} 2 > $@ +fr-leg1.gsmx: ${FR1_BIN} ${EXTR_TOOL} + ${EXTR_TOOL} ${FR1_BIN} 1 0x573 0x287f3 $@ + +fr-leg2.gsmx: ${FR1_BIN} ${EXTR_TOOL} + ${EXTR_TOOL} ${FR1_BIN} 2 0x5438 0x27f38 $@ + +efr-leg1.gsmx: ${EFR_BIN} ${EXTR_TOOL} + ${EXTR_TOOL} ${EFR_BIN} 1 0x9ad3 0x30453 $@ + +efr-leg2.gsmx: ${EFR_BIN} ${EXTR_TOOL} + ${EXTR_TOOL} ${EFR_BIN} 2 0xc738 0x2faf8 $@ + clean: - rm -f *.dump + rm -f *.dump *.gsmx