Default node info broadcast secs for ham operation

This commit is contained in:
Ben Meadors
2023-02-08 15:36:23 -06:00
parent 79850c6d03
commit 1c3970efab
5 changed files with 15 additions and 7 deletions

View File

@@ -609,6 +609,9 @@ void AdminModule::handleSetHamMode(const meshtastic_HamParameters &p)
config.lora.override_duty_cycle = true;
config.lora.tx_power = p.tx_power;
config.lora.override_frequency = p.frequency;
// Set node info broadcast interval to 10 minutes
// For FCC minimum call-sign announcement
config.device.node_info_broadcast_secs = 600;
// Remove PSK of primary channel for plaintext amateur usage
auto primaryChannel = channels.getByIndex(channels.getPrimaryIndex());