Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adjusted exp settings #886

Merged
merged 1 commit into from
Feb 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 5 additions & 28 deletions freedata_gui/src/components/settings_exp.vue
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
<script setup>
import { setConfig } from "../js/api";

import { setActivePinia } from "pinia";
import pinia from "../store/index";
setActivePinia(pinia);

import { settingsStore as settings } from "../store/settingsStore.js";
</script>

<template>
Expand All @@ -14,32 +12,11 @@ import { settingsStore as settings } from "../store/settingsStore.js";
<strong><i class="bi bi-shield-exclamation me-1"></i>WARNING:</strong> These features may be incomplete. They are for <u>experienced</u> users ONLY!
</div>

<!-- Enable MESH Protocol -->
<div class="input-group input-group-sm mb-1">
<label class="input-group-text w-50 text-wrap">
Enable MESH protocol
<button
type="button"
class="btn btn-link p-0 ms-2"
data-bs-toggle="tooltip"
title="Experimental feature"
>
<i class="bi bi-question-circle"></i>
</button>
</label>
<label class="input-group-text w-50">
<div class="form-check form-switch form-check-inline ms-2">
<input
class="form-check-input"
type="checkbox"
id="enableMeshSwitch"
@change="setConfig"
v-model="settings.remote.MESH.enable_protocol"
disabled
/>
<label class="form-check-label" for="enableMeshSwitch">Enable</label>
</div>
</label>

<div class="alert alert-info" role="alert">
<strong><i class="bi bi-info-circle me-1"></i>Info:</strong> No features published for testing, yet.
</div>


</template>

3 changes: 0 additions & 3 deletions freedata_gui/src/store/settingsStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ const defaultConfig = {
rx_audio_level: 0,
tx_audio_level: 0,
},
MESH: {
enable_protocol: false,
},
MODEM: {
tx_delay: 0,
enable_hamc: false,
Expand Down
7 changes: 2 additions & 5 deletions freedata_server/config.ini.example
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ serial_rts = OFF
tci_ip = 127.0.0.1
tci_port = 50001

[MESH]
enable_protocol = False

[MODEM]
enable_hmac = False
enable_morse_identifier = False
Expand All @@ -58,8 +55,8 @@ enable_socket_interface = False
[SOCKET_INTERFACE]
enable = False
host = 127.0.0.1
cmd_port = 8000
data_port = 8001
cmd_port = 9000
data_port = 9001

[MESSAGES]
enable_auto_repeat = False
Expand Down
3 changes: 0 additions & 3 deletions freedata_server/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ class CONFIG:
'tci_ip': str,
'tci_port': int,
},
'MESH': {
'enable_protocol': bool,
},
'MODEM': {
'enable_hmac': bool,
'enable_morse_identifier': bool,
Expand Down
Loading
Loading