FreeDATA/modem/command_ping.py

11 lines
290 B
Python
Raw Normal View History

2023-11-23 15:59:53 +00:00
from command import TxCommand
class PingCommand(TxCommand):
2023-11-26 11:53:28 +00:00
def set_params_from_api(self, apiParams):
2023-11-23 15:59:53 +00:00
self.dxcall = apiParams['dxcall']
2023-11-26 11:53:28 +00:00
return super().set_params_from_api(apiParams)
2023-11-23 15:59:53 +00:00
def build_frame(self):
return self.frame_factory.build_ping(self.dxcall)