FreeDATA/modem/command_ping.py
2023-11-23 16:59:53 +01:00

11 lines
272 B
Python

from command import TxCommand
class PingCommand(TxCommand):
def setParamsFromApi(self, apiParams):
self.dxcall = apiParams['dxcall']
return super().setParamsFromApi()
def execute(self):
self.frame_factory.build_ping(self.dxcall)