diff options
Diffstat (limited to 'gsm-receiver/src/python/go.sh')
-rwxr-xr-x | gsm-receiver/src/python/go.sh | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/gsm-receiver/src/python/go.sh b/gsm-receiver/src/python/go.sh index e0d1290..5fc37d4 100755 --- a/gsm-receiver/src/python/go.sh +++ b/gsm-receiver/src/python/go.sh @@ -2,6 +2,8 @@ #echo "go.sh <file.cfile> [decim==112]" +KEY=$4 +CONFIGURATION=$3 DECIM=$2 FILE=$1 @@ -9,4 +11,16 @@ if [ $DECIM"x" = x ]; then DECIM=112 fi -./gsm_receive.py -d "$DECIM" -I "$FILE" | ../../../gsmdecode/src/gsmdecode -i +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" |