added open flag indicator for FTDI

This commit is contained in:
2025-10-19 19:56:05 +02:00
parent bc15407cad
commit 65e2def501
3 changed files with 14 additions and 4 deletions

View File

@@ -20,6 +20,7 @@ type PeripheralInfo struct {
Name string `yaml:"name"` // Name of the peripheral
SerialNumber string `yaml:"sn"` // S/N of the peripheral
ProtocolName string `yaml:"protocol"` // Protocol name of the peripheral
IsOpen bool // Open flag for peripheral connection
Settings map[string]interface{} `yaml:"settings"` // Peripheral settings
}