FPIBG Utility
TestFPIBGserverOLD Namespace Reference

Variables

str HOST = "0.0.0.0"
 
int PORT = 5000
 
int BUFFER_SIZE = 4096
 
 script_dir = os.path.dirname(os.path.abspath(__file__))
 
 CONFIG_PATH = os.path.join(script_dir, '..', 'doc', 'Particle.cfg')
 
 server_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
 
 conn
 
 addr
 
 filename = conn.recv(1024).decode()
 
 exist_ok
 
 data = conn.recv(BUFFER_SIZE)
 
str command = f"python3 {os.path.join(script_dir, '..', 'shared', 'FPIBGConfig.py')} --config {CONFIG_PATH}"
 
 shell
 

Variable Documentation

◆ addr

TestFPIBGserverOLD.addr

◆ BUFFER_SIZE

int TestFPIBGserverOLD.BUFFER_SIZE = 4096

◆ command

TestFPIBGserverOLD.command = f"python3 {os.path.join(script_dir, '..', 'shared', 'FPIBGConfig.py')} --config {CONFIG_PATH}"

◆ CONFIG_PATH

TestFPIBGserverOLD.CONFIG_PATH = os.path.join(script_dir, '..', 'doc', 'Particle.cfg')

◆ conn

TestFPIBGserverOLD.conn

◆ data

TestFPIBGserverOLD.data = conn.recv(BUFFER_SIZE)

◆ exist_ok

TestFPIBGserverOLD.exist_ok

◆ filename

TestFPIBGserverOLD.filename = conn.recv(1024).decode()

◆ HOST

str TestFPIBGserverOLD.HOST = "0.0.0.0"

◆ PORT

int TestFPIBGserverOLD.PORT = 5000

◆ script_dir

TestFPIBGserverOLD.script_dir = os.path.dirname(os.path.abspath(__file__))

◆ server_socket

TestFPIBGserverOLD.server_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)

◆ shell

TestFPIBGserverOLD.shell