STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
capture_raw_packets.py File Reference

Go to the source code of this file.

Namespaces

namespace  capture_raw_packets

Variables

int capture_raw_packets.PORT = 5006
int capture_raw_packets.TIMEOUT = 30
 capture_raw_packets.sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
int capture_raw_packets.packet_count = 0
 capture_raw_packets.start_time = time.time()
 capture_raw_packets.data
 capture_raw_packets.addr
str capture_raw_packets.hex_str = " ".join(f"{b:02x}" for b in data[:32])
str capture_raw_packets.ascii_str = "".join(chr(b) if 32 <= b < 127 else "." for b in data[:32])
 capture_raw_packets.first_byte = data[0]