3 # This is the main script that calls every other script that is needed for the main flow
6 echo "Usage: main_flow.sh <json-file> <output-file-name> <device-name> <device-mac-address>"
7 echo " <json-file> = JSON file of local/traffic captured on WLAN interfaces"
8 echo " <output-file-name> = base name for the output files"
9 echo " <device-name> = device name"
10 echo " <device-mac-address> = device MAC address"
14 # Check result folder and create one if it does not exist yet
15 [ -d result ] || mkdir result
18 python ./base_gexf_generator.py $1 $2.gexf
19 python ./parser/parse_packet_frequency.py $1 $2 $3 $4