FreeDATA/modem/command_cq.py

13 lines
386 B
Python
Raw Normal View History

2023-11-23 15:59:53 +00:00
from command import TxCommand
from codec2 import FREEDV_MODE
2023-11-23 15:59:53 +00:00
class CQCommand(TxCommand):
def build_frame(self):
return self.frame_factory.build_cq()
def get_tx_mode(self):
2024-04-07 13:09:25 +00:00
#return FREEDV_MODE.data_ofdm_500
2024-04-06 19:14:36 +00:00
#return FREEDV_MODE.datac3
2024-04-07 13:09:25 +00:00
return FREEDV_MODE.data_ofdm_2438
#return FREEDV_MODE.data_qam_2438
2024-04-06 19:14:36 +00:00
#return FREEDV_MODE.qam16c2