mirror of https://github.com/DJ2LS/FreeDATA.git
move respond to cq to STATION
parent
ee803b047c
commit
dbcbd74628
|
@ -192,19 +192,5 @@ const audioStore = useAudioStore(pinia);
|
|||
</select>
|
||||
</div>
|
||||
|
||||
<div class="input-group input-group-sm mb-1">
|
||||
<label class="input-group-text w-50">Respond to CQ</label>
|
||||
<label class="input-group-text w-50">
|
||||
<div class="form-check form-switch form-check-inline">
|
||||
<input
|
||||
class="form-check-input"
|
||||
type="checkbox"
|
||||
id="respondCQSwitch"
|
||||
v-model="settings.remote.MODEM.respond_to_cq"
|
||||
@change="onChange"
|
||||
/>
|
||||
<label class="form-check-label" for="respondCQSwitch">QRV</label>
|
||||
</div>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
</template>
|
||||
|
|
|
@ -58,6 +58,24 @@
|
|||
v-model="settings.remote.STATION.mygrid"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div class="input-group input-group-sm mb-1">
|
||||
<label class="input-group-text w-50">Respond to CQ</label>
|
||||
<label class="input-group-text w-50">
|
||||
<div class="form-check form-switch form-check-inline">
|
||||
<input
|
||||
class="form-check-input"
|
||||
type="checkbox"
|
||||
id="respondCQSwitch"
|
||||
v-model="settings.remote.STATION.respond_to_cq"
|
||||
@change="onChange"
|
||||
/>
|
||||
<label class="form-check-label" for="respondCQSwitch">QRV</label>
|
||||
</div>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
|
|
|
@ -9,6 +9,8 @@ myssid = 1
|
|||
ssid_list = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
|
||||
enable_explorer = False
|
||||
enable_stats = False
|
||||
respond_to_cq = True
|
||||
|
||||
|
||||
[AUDIO]
|
||||
input_device = 5a1c
|
||||
|
@ -48,7 +50,6 @@ enable_protocol = False
|
|||
[MODEM]
|
||||
enable_hmac = False
|
||||
enable_morse_identifier = False
|
||||
respond_to_cq = True
|
||||
tx_delay = 50
|
||||
maximum_bandwidth = 2438
|
||||
enable_socket_interface = False
|
||||
|
|
|
@ -20,6 +20,8 @@ class CONFIG:
|
|||
'ssid_list': list,
|
||||
'enable_explorer': bool,
|
||||
'enable_stats': bool,
|
||||
'respond_to_cq': bool,
|
||||
|
||||
},
|
||||
'AUDIO': {
|
||||
'input_device': str,
|
||||
|
@ -60,7 +62,6 @@ class CONFIG:
|
|||
'enable_hmac': bool,
|
||||
'enable_morse_identifier': bool,
|
||||
'maximum_bandwidth': int,
|
||||
'respond_to_cq': bool,
|
||||
'tx_delay': int,
|
||||
'enable_socket_interface': bool,
|
||||
},
|
||||
|
|
|
@ -66,7 +66,7 @@ class TestProtocols(unittest.TestCase):
|
|||
print("PING/PING ACK CHECK SUCCESSFULLY")
|
||||
|
||||
def testCQWithQRV(self):
|
||||
self.config['MODEM']['respond_to_cq'] = True
|
||||
self.config['STATION']['respond_to_cq'] = True
|
||||
self.state_manager.set_channel_busy_condition_codec2(False)
|
||||
|
||||
api_params = {}
|
||||
|
|
Loading…
Reference in New Issue