Example settings.toml for Desktop Use

# HTTP server settings
[servers.http]
ip = "127.0.0.1"
port = 5000

# WebSocket server settings
[servers.ws]
ip = "127.0.0.1"
port = 8080

# TCP server settings
[servers.tcp]
ip = "127.0.0.1"
port = 59000

[settings.can]
interface = "can0"

[settings.db]
# Path to the database file
path = "local/app.db"

[settings.devices]
# Whether to record devices by default
default_record = true
# Timeout duration for device communication in milliseconds
timeout_ms = 5000
# Enable round-trip communication
round_trip = true
# Number of attempts for round-trip communication
round_trip_attempts = 5

[settings.recipe]
# Force kill the recipe when queued
force_kill_on_queue = false
# Path to the Python executable
python_path = "C:/Python310/python.exe"

[settings.serial.common]
# Whether the serial ports share a bus
shared_bus = false
# Delay duration for device discovery in milliseconds
discovery_delay_ms = 1000
# Transmit interval for serial communication in milliseconds
transmit_interval_ms = 5
# Baud rate for serial communication
baud_rate = 115200
# Interval duration for device rediscovery in milliseconds
rediscovery_interval_ms = 5000
# Duration of device rediscovery in milliseconds
rediscovery_duration_ms = 10

# Override the common serial port settings for COM5
[[settings.serial.ports]]
port = "COM5"
# block this port
block = true

# Override the common serial port settings for COM4
[[settings.serial.ports]]
port = "COM4"
# Override the common serial port baud rate
baud_rate = 9600

[settings.ws]
# Interval duration for live updates in milliseconds
live_interval_ms = 50
# Interval duration for recordable updates in milliseconds
recordable_interval_ms = 50

[deployment]
# Set to false for desktop deployment
rpi = false
# Enter your secret key here (64 characters long)
secret_key = "*******************"