diff --git a/gui/src/components/main_startup_check.vue b/gui/src/components/main_startup_check.vue index a198d163..8df23cf5 100644 --- a/gui/src/components/main_startup_check.vue +++ b/gui/src/components/main_startup_check.vue @@ -207,8 +207,6 @@ function testHamlib() { class="form-select form-select-sm" id="rx_audio" aria-label=".form-select-sm" - data-section="AUDIO" - data-setting="input_device" @change="onChange" v-model="settings.remote.AUDIO.input_device" v-html="audio.getInputDevices()" @@ -265,8 +263,6 @@ function testHamlib() { class="form-select form-select-sm" aria-label=".form-select-sm" id="rigcontrol_radiocontrol" - data-section="RADIO" - data-setting="control" @change="onChange" v-model="settings.remote.RADIO.control" > @@ -346,7 +342,8 @@ function testHamlib() { aria-label=".form-select-sm" id="hamlib_deviceport" style="width: 7rem" - @change="setConfig" + @change="onChange" + v-model="settings.remote.RADIO.serial_port" > @@ -361,8 +358,6 @@ function testHamlib() { placeholder="TCI IP" id="rigcontrol_tci_ip" aria-label="Device IP" - data-section="TCI" - data-setting="ip" v-model="settings.remote.TCI.ip" @change="onChange" /> @@ -376,8 +371,6 @@ function testHamlib() { placeholder="TCI port" id="rigcontrol_tci_port" aria-label="Device Port" - data-section="TCI" - data-setting="port" v-model="settings.remote.TCI.port" @change="onChange" /> diff --git a/gui/src/components/settings_hamlib.vue b/gui/src/components/settings_hamlib.vue index 8ef5d698..eeda4436 100644 --- a/gui/src/components/settings_hamlib.vue +++ b/gui/src/components/settings_hamlib.vue @@ -13,8 +13,6 @@ import { settingsStore as settings, onChange } from "../store/settingsStore.js"; id="hamlib_rigctld_ip" aria-label="Device IP" @change="onChange" - data-section="RIGCTLD" - data-setting="rip" v-model="settings.remote.RIGCTLD.ip" /> @@ -28,8 +26,6 @@ import { settingsStore as settings, onChange } from "../store/settingsStore.js"; id="hamlib_rigctld_port" aria-label="Device Port" @change="onChange" - data-section="RIGCTLD" - data-setting="port" v-model="settings.remote.RIGCTLD.port" /> @@ -42,8 +38,6 @@ import { settingsStore as settings, onChange } from "../store/settingsStore.js"; aria-label=".form-select-sm" id="hamlib_deviceid" @change="onChange" - data-section="RADIO" - data-setting="model_id" v-model.number="settings.remote.RADIO.model_id" > @@ -321,8 +315,6 @@ import { settingsStore as settings, onChange } from "../store/settingsStore.js"; id="hamlib_deviceport" style="width: 7rem" @change="onChange" - data-section="RIGCTLD" - data-setting="port" v-model="settings.remote.RIGCTLD.port" > @@ -335,8 +327,6 @@ import { settingsStore as settings, onChange } from "../store/settingsStore.js"; aria-label=".form-select-sm" id="hamlib_serialspeed" @change="onChange" - data-section="RADIO" - data-setting="serial_speed" v-model.number="settings.remote.RADIO.serial_speed" > @@ -360,8 +350,6 @@ import { settingsStore as settings, onChange } from "../store/settingsStore.js"; aria-label=".form-select-sm" id="hamlib_data_bits" @change="onChange" - data-section="RADIO" - data-setting="data_bits" v-model.number="settings.remote.RADIO.data_bits" > @@ -377,8 +365,6 @@ import { settingsStore as settings, onChange } from "../store/settingsStore.js"; aria-label=".form-select-sm" id="hamlib_stop_bits" @change="onChange" - data-section="RADIO" - data-setting="stop_bits" v-model.number="settings.remote.RADIO.stop_bits" > @@ -394,8 +380,6 @@ import { settingsStore as settings, onChange } from "../store/settingsStore.js"; aria-label=".form-select-sm" id="hamlib_handshake" @change="onChange" - data-section="RADIO" - data-setting="serial_handshake" v-model="settings.remote.RADIO.serial_handshake" > @@ -410,8 +394,6 @@ import { settingsStore as settings, onChange } from "../store/settingsStore.js"; aria-label=".form-select-sm" id="hamlib_ptt_port" @change="onChange" - data-section="RADIO" - data-setting="ptt_port" v-model="settings.remote.RADIO.ptt_port" > @@ -426,8 +408,6 @@ import { settingsStore as settings, onChange } from "../store/settingsStore.js"; id="hamlib_pttprotocol" style="width: 0.5rem" @change="onChange" - data-section="RADIO" - data-setting="ptt_type" v-model="settings.remote.RADIO.ptt_type" > @@ -449,8 +429,6 @@ import { settingsStore as settings, onChange } from "../store/settingsStore.js"; id="hamlib_dcd" style="width: 0.5rem" @change="onChange" - data-section="RADIO" - data-setting="serial_dcd" v-model="settings.remote.RADIO.serial_dcd" > @@ -471,8 +449,6 @@ import { settingsStore as settings, onChange } from "../store/settingsStore.js"; id="hamlib_dtrstate" style="width: 0.5rem" @change="onChange" - data-section="RADIO" - data-setting="serial_dtr" v-model="settings.remote.RADIO.serial_dtr" > @@ -511,8 +487,6 @@ import { settingsStore as settings, onChange } from "../store/settingsStore.js"; aria-label="Custom arguments" aria-describedby="basic-addon1" @change="onChange" - data-section="RIGCTLD" - data-setting="arguments" v-model="settings.remote.RIGCTLD.arguments" /> diff --git a/gui/src/components/settings_modem.vue b/gui/src/components/settings_modem.vue index a8c7421c..03dd3cd0 100644 --- a/gui/src/components/settings_modem.vue +++ b/gui/src/components/settings_modem.vue @@ -1,10 +1,6 @@ @@ -18,8 +18,8 @@ import { settingsStore as settings} from "../store/settingsStore.js"; class="form-check-input" type="checkbox" id="ExplorerSwitch" - @change="setConfig" - v-model="settings.enable_explorer" + @change="onChange" + v-model="settings.remote.STATION.enable_explorer" /> @@ -33,8 +33,8 @@ import { settingsStore as settings} from "../store/settingsStore.js"; class="form-check-input" type="checkbox" id="ExplorerStatsSwitch" - @change="setConfig" - v-model="settings.explorer_stats" + @change="onChange" + v-model="settings.remote.STATION.enable_stats" /> { + // TODO handle local file saving + const cenas = newValue; +}) \ No newline at end of file diff --git a/modem/config.py b/modem/config.py index c9d331c8..e539fd35 100644 --- a/modem/config.py +++ b/modem/config.py @@ -65,10 +65,10 @@ class CONFIG: 'enable_low_bandwidth_mode': bool, 'respond_to_cq': bool, 'rx_buffer_size': int, - 'enable_scatter': bool, 'tx_delay': int, - 'enable_hmac':bool, - 'enable_morse_identifier':bool + 'enable_hmac': bool, + 'enable_morse_identifier': bool, + 'beacon_interval': int, }, }