mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
16 lines
369 B
Python
16 lines
369 B
Python
from command import TxCommand
|
|
|
|
class PingCommand(TxCommand):
|
|
|
|
def setParamsFromApi(self, apiParams):
|
|
self.dxcall = apiParams['dxcall']
|
|
return super().setParamsFromApi()
|
|
|
|
def run(self, modem_state, tx_frame_queue):
|
|
frame = self.frame_factory.build_ping(self.dxcall)
|
|
|
|
|
|
return super().execute(modem_state, tx_frame_queue)
|
|
|
|
|