This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Go to http://10.5.5.9:8080/gp/gpControl/execute?p1=gpStream&c1=restart before running this script | |
import socket | |
import sys | |
from time import sleep | |
def get_command_msg(id): | |
return "_GPHD_:%u:%u:%d:%1lf\n" % (0, 0, 2, 0) | |
UDP_IP = "10.5.5.9" | |
UDP_PORT = 8554 |