mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
14 lines
521 B
Python
14 lines
521 B
Python
from command import TxCommand
|
|
|
|
class BeaconCommand(TxCommand):
|
|
|
|
def build_frame(self):
|
|
beacon_state = self.state_manager.is_away_from_key
|
|
return self.frame_factory.build_beacon(beacon_state)
|
|
|
|
|
|
#def transmit(self, freedata_server):
|
|
# super().transmit(freedata_server)
|
|
# if self.config['MODEM']['enable_morse_identifier']:
|
|
# mycall = f"{self.config['STATION']['mycall']}-{self.config['STATION']['myssid']}"
|
|
# freedata_server.transmit_morse("morse", 1, 0, mycall)
|