Compare commits

...

2 Commits

Author SHA1 Message Date
026915fdec Merge branch 'main' of https://git.rouggy.com/rouggy/FlexDXCluster 2025-04-06 18:36:32 +02:00
6749289255 up 2025-04-06 18:36:16 +02:00
3 changed files with 9 additions and 5 deletions

View File

@ -5,12 +5,12 @@ general:
telnetserver: true # not in use for now
flexradiospot: true # not in use for now
sqlite:
sqlite_path: 'C:\Perso\Seafile\Radio\Logs\Log4OM\Vietnam.SQLite' # SQLite Db oath of Log4OM
callsign: XV9Q # Log4OM Callsign used to check if you get spotted by someone
sqlite_path: 'C:\Perso\Seafile\Radio\Logs\Log4OM\F4BPO.SQLite' # SQLite Db oath of Log4OM
callsign: F4BPO # Log4OM Callsign used to check if you get spotted by someone
cluster:
server: cluster.f4bpo.com # dxc.k0xm.net
port: 7300
login: xv9q
login: f4bpo
skimmer: true
ft8: false
ft4: false

View File

@ -180,7 +180,7 @@ func (fc *FlexClient) SendSpottoFlex(spot TelnetSpot) {
flexSpot.Priority = "1"
flexSpot.BackgroundColor = "#ff000000"
} else if spot.CallsignWorked {
flexSpot.Color = "#ff000000"
flexSpot.Color = "#ffeaeaea"
flexSpot.BackgroundColor = "#ff00c0c0"
flexSpot.Priority = "5"
flexSpot.Comment = flexSpot.Comment + " [Worked]"
@ -203,6 +203,10 @@ func (fc *FlexClient) SendSpottoFlex(spot TelnetSpot) {
flexSpot.Color = "#ffeaeaea"
flexSpot.Priority = "5"
flexSpot.BackgroundColor = "#ff000000"
} else {
flexSpot.Color = "#ffeaeaea"
flexSpot.Priority = "5"
flexSpot.BackgroundColor = "#ff000000"
}
flexSpot.Comment = strings.ReplaceAll(flexSpot.Comment, " ", "\u00A0")

View File

@ -42,7 +42,7 @@ func main() {
cfg := NewConfig(cfgPath)
log := NewLog()
log.Info("Running FlexDXCluster version 0.1")
log.Info("Running FlexDXCluster version 0.2")
log.Infof("Callsign: %s", cfg.SQLite.Callsign)
DeleteDatabase("./flex.sqlite", log)