Update default modem port to 5000

This commit is contained in:
Mashintime 2023-11-13 14:04:15 -05:00
parent 1dc06d0aa4
commit e04b5e4a89
3 changed files with 4 additions and 4 deletions

View file

@ -58,7 +58,7 @@ if (!fs.existsSync(configFolder)) {
// create config file if not exists with defaults
const configDefaultSettings = `{
"modem_host": "127.0.0.1",
"modem_port": 3000,
"modem_port": 5000,
"spectrum": "waterfall",
"theme": "default",
"screen_height": 430,
@ -189,7 +189,7 @@ export function getModemConfigAsJSON() {
tx_delay: settings.tx_delay,
},
NETWORK: {
modemport: "3000",
modemport: "5000",
},
RADIO: {
radiocontrol: settings.radiocontrol,

View file

@ -10,7 +10,7 @@ export const useSettingsStore = defineStore("settingsStore", () => {
// network
var modem_host = ref("127.0.0.1");
var modem_port = ref(3000);
var modem_port = ref(5000);
var daemon_host = ref(modem_host.value);
var daemon_port = ref(modem_port.value + 1);

View file

@ -138,7 +138,7 @@ class TCIParam:
class Modem:
version = "0.11.2-alpha.4"
host: str = "0.0.0.0"
port: int = 3000
port: int = 5000
SOCKET_TIMEOUT: int = 1 # seconds
modem_state: str = "IDLE"
enable_explorer = False