summaryrefslogtreecommitdiff
path: root/gsm-receiver/src/python/go.sh
blob: 5fc37d43f40dfb9bbf0c3e7991d4601ab7b8e719 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#! /bin/sh

#echo "go.sh <file.cfile> [decim==112]"

KEY=$4
CONFIGURATION=$3
DECIM=$2
FILE=$1

if [ $DECIM"x" = x ]; then
	DECIM=112
fi

if [ $CONFIGURATION"x" = x ]; then
	CONFIGURATION=""
fi

if [ "$KEY""x" = x ]; then
	KEY="00 00 00 00 00 00 00 00"
fi

# Use GSMTAP with WireShark instead of gmsdecode !

#./gsm_receive.py  -d "$DECIM" -I "$FILE" -c "$CONFIGURATION" -k "$KEY" | ../../../gsmdecode/src/gsmdecode -i

./gsm_receive.py  -d "$DECIM" -I "$FILE" -c "$CONFIGURATION" -k "$KEY"
personal git repositories of Harald Welte. Your mileage may vary