summaryrefslogtreecommitdiff
path: root/gr-msdd6000/src/python/test_udp.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-msdd6000/src/python/test_udp.py')
-rwxr-xr-xgr-msdd6000/src/python/test_udp.py40
1 files changed, 0 insertions, 40 deletions
diff --git a/gr-msdd6000/src/python/test_udp.py b/gr-msdd6000/src/python/test_udp.py
deleted file mode 100755
index da5c39de3..000000000
--- a/gr-msdd6000/src/python/test_udp.py
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/usr/bin/python
-
-from socket import *
-import string
-import time
-import struct;
-
-
-port = 10001
-host = "10.45.4.43"
-
-myaddr = ("10.45.1.229",10000);
-
-buf = 1024;
-
-UDPSock = socket(AF_INET,SOCK_DGRAM);
-UDPSock.bind(myaddr);
-
-f_mhz = 2400;
-f_hz = 1;
-gain = 3;
-samples = 512;
-decim = 2;
-sets = 16;
-
-
-req_data = struct.pack("<IIIIIIIIII", 0x0001, 0x0002, f_mhz, f_hz, gain, samples, decim, sets);
-data = struct.pack("<II", 0x0000, 0x0000);
-
-
-
-UDPSock.sendto(stat_data, (host,port))
-
-
-print "sent"
-
-data,addr = UDPSock.recvfrom(buf);
-print "got response"
-
-