FreeDATA/modem/command_beacon.py

14 lines
420 B
Python
Raw Permalink Normal View History

2023-11-26 14:45:41 +00:00
from command import TxCommand
class BeaconCommand(TxCommand):
def build_frame(self):
return self.frame_factory.build_beacon()
2023-12-21 16:47:48 +00:00
#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)