STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
test_udp_simple Namespace Reference

Variables

 result
 usb_ip = None
 sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
int packet_count = 0
 start = time.time()
 data
 addr
str hex_str = " ".join(f"{b:02x}" for b in data)

Detailed Description

Super simple UDP test - bind to USB interface specifically

Variable Documentation

◆ addr

test_udp_simple.addr

Definition at line 50 of file test_udp_simple.py.

◆ data

test_udp_simple.data

Definition at line 50 of file test_udp_simple.py.

◆ hex_str

str test_udp_simple.hex_str = " ".join(f"{b:02x}" for b in data)

Definition at line 54 of file test_udp_simple.py.

◆ packet_count

int test_udp_simple.packet_count = 0

Definition at line 43 of file test_udp_simple.py.

◆ result

test_udp_simple.result
Initial value:
1= subprocess.run(
2 ["ip", "addr", "show", "enx00e04c680240"], capture_output=True, text=True
3)

Definition at line 12 of file test_udp_simple.py.

◆ sock

test_udp_simple.sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)

Definition at line 31 of file test_udp_simple.py.

◆ start

test_udp_simple.start = time.time()

Definition at line 47 of file test_udp_simple.py.

◆ usb_ip

test_udp_simple.usb_ip = None

Definition at line 15 of file test_udp_simple.py.