summaryrefslogtreecommitdiff
path: root/gsm-receiver/src/python/go_usrp2.sh
blob: 707dda4853fa77f03a33bb1113b87b05edb15c55 (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==174]"

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

if [ $DECIM"x" = x ]; then
	DECIM=174
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_receive100.py  -d "$DECIM" -I "$FILE" -c "$CONFIGURATION" -k "$KEY" | ../../../gsmdecode/src/gsmdecode -i

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