echo "__Test Begins"
date
echo "__Initial 60secs Begins"
sleep 60

echo "__S-BAND Sync Test Ends"
{ sleep 2; echo 2 410;sleep 5; echo 15;} | ./mfcc_sample_app
echo "__S-BAND Sync Test Ends"

echo "__S-BAND Power ON Test Begins"
{ sleep 2; echo 1 211 2 1 ;sleep 10; echo 15;} | ./mfcc_sample_app
echo "__S-BAND Power ON Test Ends"

echo "__ADCS Power ON Test Begins"
{ sleep 2; echo 1 211 4 1 ;sleep 10; echo 15;} | ./mfcc_sample_app
echo "__ADCS Power ON Test Ends"

echo "__S-BAND 30dbm Power Set Test Begins"
{ sleep 2; echo 2 305 30;sleep 10; echo 15;} | ./mfcc_sample_app
echo "__S-BAND 30dbm Power Set Test Ends"

ran_num=$(shuf -i 30-60 -n1)
echo "__After RTC Time Sync Sleep Duration is $ran_num"
sleep $ran_num

i=1;

while true 
do
    date
    echo "__All Sequence Read Iteration count: $i"
    { sleep 2; echo 1 560 9; sleep 5; echo 1 560 10; sleep 5; echo 1 560 18; sleep 5; echo 1 560 19; sleep 5; 
			   echo 3 134 117 pwd; sleep 10; 
	           echo 1 201; sleep 5; echo 1 203; sleep 5; echo 1 206; sleep 5; echo 1 209; sleep 5; 
			   echo 6; sleep 15; 
			   echo 2 350; sleep 5; echo 2 369; sleep 5; echo 2 390; sleep 5; echo 2 400; sleep 5;
			   echo 2 408 10 200 500 1; sleep 20; 
			   echo 2 350; sleep 5; echo 2 369; sleep 5; echo 2 390; sleep 5; echo 2 400; sleep 5;
			   echo 15;} | ./mfcc_sample_app 
    ran_num=$(shuf -i 30-60 -n1)
	echo "__After OBC & GPS and EDGE TEMP Read Sleep Duration is $ran_num $i"
	sleep $ran_num
	i=$((i+1))
done