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