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>
|
</select>
|
||||||
</div>
|
</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>
|
</template>
|
||||||
|
|
|
@ -58,6 +58,24 @@
|
||||||
v-model="settings.remote.STATION.mygrid"
|
v-model="settings.remote.STATION.mygrid"
|
||||||
/>
|
/>
|
||||||
</div>
|
</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>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
|
|
|
@ -9,6 +9,8 @@ myssid = 1
|
||||||
ssid_list = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
|
ssid_list = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
|
||||||
enable_explorer = False
|
enable_explorer = False
|
||||||
enable_stats = False
|
enable_stats = False
|
||||||
|
respond_to_cq = True
|
||||||
|
|
||||||
|
|
||||||
[AUDIO]
|
[AUDIO]
|
||||||
input_device = 5a1c
|
input_device = 5a1c
|
||||||
|
@ -48,7 +50,6 @@ enable_protocol = False
|
||||||
[MODEM]
|
[MODEM]
|
||||||
enable_hmac = False
|
enable_hmac = False
|
||||||
enable_morse_identifier = False
|
enable_morse_identifier = False
|
||||||
respond_to_cq = True
|
|
||||||
tx_delay = 50
|
tx_delay = 50
|
||||||
maximum_bandwidth = 2438
|
maximum_bandwidth = 2438
|
||||||
enable_socket_interface = False
|
enable_socket_interface = False
|
||||||
|
|
|
@ -20,6 +20,8 @@ class CONFIG:
|
||||||
'ssid_list': list,
|
'ssid_list': list,
|
||||||
'enable_explorer': bool,
|
'enable_explorer': bool,
|
||||||
'enable_stats': bool,
|
'enable_stats': bool,
|
||||||
|
'respond_to_cq': bool,
|
||||||
|
|
||||||
},
|
},
|
||||||
'AUDIO': {
|
'AUDIO': {
|
||||||
'input_device': str,
|
'input_device': str,
|
||||||
|
@ -60,7 +62,6 @@ class CONFIG:
|
||||||
'enable_hmac': bool,
|
'enable_hmac': bool,
|
||||||
'enable_morse_identifier': bool,
|
'enable_morse_identifier': bool,
|
||||||
'maximum_bandwidth': int,
|
'maximum_bandwidth': int,
|
||||||
'respond_to_cq': bool,
|
|
||||||
'tx_delay': int,
|
'tx_delay': int,
|
||||||
'enable_socket_interface': bool,
|
'enable_socket_interface': bool,
|
||||||
},
|
},
|
||||||
|
|
|
@ -66,7 +66,7 @@ class TestProtocols(unittest.TestCase):
|
||||||
print("PING/PING ACK CHECK SUCCESSFULLY")
|
print("PING/PING ACK CHECK SUCCESSFULLY")
|
||||||
|
|
||||||
def testCQWithQRV(self):
|
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)
|
self.state_manager.set_channel_busy_condition_codec2(False)
|
||||||
|
|
||||||
api_params = {}
|
api_params = {}
|
||||||
|
|
Loading…
Reference in New Issue