2023-11-23 15:59:53 +00:00
|
|
|
from command import TxCommand
|
2024-04-04 20:46:12 +00:00
|
|
|
from codec2 import FREEDV_MODE
|
2023-11-23 15:59:53 +00:00
|
|
|
class CQCommand(TxCommand):
|
2023-11-25 23:11:39 +00:00
|
|
|
|
|
|
|
def build_frame(self):
|
|
|
|
return self.frame_factory.build_cq()
|
2024-04-04 20:46:12 +00:00
|
|
|
|
|
|
|
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
|