# This is a sample Python script.

# Press Shift+F10 to execute it or replace it with your code.
# Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings.
import json
import os
# Press the green button in the gutter to run the script.
import time

from vepy_api import *

from src.core.performance_tracker import PerformanceTracker

if __name__ == '__main__':
    print("the pid of python is " + str(os.getpid()))
    # pdb.set_trace()
    json_text = open('input_configuration.json', 'r')
    y = json.load(json_text)
    print(y)
    tracker = PerformanceTracker(y)
    # while True:
    # Logic to stream
    r1 = RawPayload(payload_length=1500)
    p1 = Packet(payload=r1)
    start(phy=1, burst="Cont", packet=p1)
    time.sleep(30)
    start(phy=2, burst="Cont", packet=p1)
    time.sleep(30)
    stop(phy=1, snoop=True)
    stop(phy=2, snoop=True)

    # time.sleep(30)
    tracker.main()
    # time.sleep(30)

# See PyCharm help at https://www.jetbrains.com/help/pycharm/

101caf8cb7c4fbdce5811acdb0ab04939beea992
<mask token>

<mask token>
if __name__ == '__main__':
    print('the pid of python is ' + str(os.getpid()))
    json_text = open('input_configuration.json', 'r')
    y = json.load(json_text)
    print(y)
    tracker = PerformanceTracker(y)
    r1 = RawPayload(payload_length=1500)
    p1 = Packet(payload=r1)
    start(phy=1, burst='Cont', packet=p1)
    time.sleep(30)
    start(phy=2, burst='Cont', packet=p1)
    time.sleep(30)
    stop(phy=1, snoop=True)
    stop(phy=2, snoop=True)
    tracker.main()

import json
import os
import time
from vepy_api import *
from src.core.performance_tracker import PerformanceTracker
if __name__ == '__main__':
    print('the pid of python is ' + str(os.getpid()))
    json_text = open('input_configuration.json', 'r')
    y = json.load(json_text)
    print(y)
    tracker = PerformanceTracker(y)
    r1 = RawPayload(payload_length=1500)
    p1 = Packet(payload=r1)
    start(phy=1, burst='Cont', packet=p1)
    time.sleep(30)
    start(phy=2, burst='Cont', packet=p1)
    time.sleep(30)
    stop(phy=1, snoop=True)
    stop(phy=2, snoop=True)
    tracker.main()

# This is a sample Python script.

# Press Shift+F10 to execute it or replace it with your code.
# Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings.
import json
import os
# Press the green button in the gutter to run the script.
import time

from vepy_api import *

from src.core.performance_tracker import PerformanceTracker

if __name__ == '__main__':
    print("the pid of python is " + str(os.getpid()))
    # pdb.set_trace()
    json_text = open('input_configuration.json', 'r')
    y = json.load(json_text)
    print(y)
    tracker = PerformanceTracker(y)
    # while True:
    # Logic to stream
    r1 = RawPayload(payload_length=1500)
    p1 = Packet(payload=r1)
    start(phy=1, burst="Cont", packet=p1)
    time.sleep(30)
    start(phy=2, burst="Cont", packet=p1)
    time.sleep(30)
    stop(phy=1, snoop=True)
    stop(phy=2, snoop=True)

    # time.sleep(30)
    tracker.main()
    # time.sleep(30)

# See PyCharm help at https://www.jetbrains.com/help/pycharm/
