COFDM 模組參數配置 UART AT 指令

版 2.2

版本更新記錄

更新日期描述
1.02016-10-24初始版本
1.12016-11-1ATDR reply differentiation
1.22016-12-26模塊
1.32017-2-14ATSE and ATGE add audio
1.42017-2-28開關
1.52017-3-27添加ATSP協議
1.62017-4-19Add ATST and ATGT protocols
1.72017-5-18ATGE instruction adds AES status
1.82017-9-12acquisition
1.92018-3-15Add ATGB protocol
2.02019-6-25Add AV and HDMI output control to the receiving end.
Supports obtaining the current AV output format
Added ATSU and ATGU instructions
添加了atosd, atsip, ATGIP instructions
2.12020-3-23Modify ATSE and ATSR instructions
Added ATSTS and ATGTS instructions
2.22023-11-22Added ATSAI and ATGAI commands
Added ATSAE and ATGAE instructions
Add ATSF command

使用我們的COFDM收發器模塊時, users may need to modify the configuration parameters of the module. 為了簡化用戶的操作, 我們將參數配置設計為一些簡單的命令. 用戶只需要使用命令中指定的指定參數即可完成COFDM模塊的參數設置.

1.1 Command introduction

The AT command to configure COFDM module parameters starts with 並以下劃線結尾 _. 每個命令都有幾個或沒有參數, 並且每個處於命令都有一個返回值.

Users can configure the serial port of the COFDM module (TTL電平, 3.3V) and the module parameters. 使用 Serial port debugging assistant (文字模式) to send AT commands, the default serial port configuration:

  • 序列埠: COM25
  • 波特率: 9600
  • 平價: 沒有任何
  • 停止位: 1 位
  • Sending Mode: Text Mode
  • Example Command: atgd_
COFDM Module Parameter Configuration UART AT commands
COFDM 模組參數配置 UART AT 指令

1.2 Command classification

1.2.1 By function

類型在命令
查詢命令ATDR, ATGD, ATGE, 阿特, ATGR, attt, ATGB, ATGU, atgip, ATGTS, ATGAI, ATGAE
Setup instructionsATSD, ATSF, ATSG, 交通運輸管理協會, y, 它將長大, 簡介, 特勤局, ATSP, ATST, 男性, atosd, atsip, ATSTS, ATSAI, ATSAE

1.2.2 By power-off save

類型在命令
Power-off save commandATSD, y, 它將長大, 簡介, 特勤局, ATSP, ATST, 男性, atsip, ATSTS, ATSAI, ATSAE
Commands are not saved when power is offATSF, ATSG, 交通運輸管理協會, atosd

1.2.3 By configuration objects

類型在命令
Sender configuration commandATDR、ATSD、ATGD、ATSF、ATSG、交通運輸管理協會、y、ATGE、它將長大、阿特、簡介、ATSP、ATST、attt、男性、ATGU、atosd、ATSTSATSAIATGAIATSAEATGAE
Receiver configuration commandATDR、特勤局、ATGR、ATSP、ATST、attt、ATGB、atsip、atgip、ATSTS

1.3 Command details

1. 3.1 ping command

格式ATDR_
範圍沒有
使用Used for integrated systems to do device self-tests and identify connected modules.
返回值Transmitter returns the “設備配置文件” 細繩
Receiver-SUE1 returns “Atdrsue1好” 細繩
Receiver-SHD1 returns “atdrshd1好” 細繩
備註查詢命令

1.3. 2 set device command

格式ATSD$(MIMO),$(gi),$(可配置的射頻輸出功率),$(星座),$(頻率(千赫)),$(BW(千赫)),$(tx1_gain), $(tx2_gain)_ 例如: ATSD0,1,0,800000,8000,86.0,86.0_
      範圍Single antenna/dual antenna mimo: 0 mimo禁用; 1 mimo啟用
Guard interval GI: 0 1/32; 1 1/16; 2 1/8; 3 1/4
Convolution code rate code rate: 0 1/2; 1 2/3; 2 3/4; 3 5/6; 4 7/8;
Constellation constellation: 0 QPSK; 1 QAM16; 2 QAM64;
Transmitter carrier center frequency freq (千赫) 70000~3000000 (70MHz~3GHz, 1千赫步)
Transmitter channel bandwidth bw (千赫) 2000〜8000 (2兆赫~8兆赫, 1千赫步)
傳輸天線 1 獲得TX1_GAIN 0.0〜89.75DB, 0.25dB step
Turn off antenna 2 獲得TX2_GAIN 0.0〜89.75DB, 0.25dB step
使用Used to set various parameters of the device (sender)
返回值例如: ATSD0,1,0,0,800000,8000,86.0,86.0_ SISO,GI:1/16,CR:1/2,mod:QPSK,頻率:800000千赫,BW:8000千赫,tx1_gain:86.000000 tx2_gain:86.000000 好
備註設定指令並斷電保存.
Data rate calculation formulas corresponding to different bandwidths, guard intervals, convolutional code rates, and constellations.
空氣接口率(可配置的射頻輸出功率) 可配置的射頻輸出功率 (帶寬(兆赫) * 8.0/7.0) / (1+GI) * 1512/2048 * 可配置的射頻輸出功率(可配置的射頻輸出功率) * 可配置的射頻輸出功率 * 188/204.
以8MHz的帶寬為例, 不同的後衛間隔, convolutional code rates, constellation corresponding data rates, and required receiving signal-to-noise ratios.
COFDM video module bitrates

1.3.3 set gain command

格式atsg $( tx1_gain),$( tx1_gain)_
例如: ext85.0.85.0_
範圍tx1_gain: 發射機 1 獲得
tx2_gain: 發射機 2 獲得
使用Used to dynamically adjust the output power. 例如, when the SNR/RSSI of the receiving end signal is high, 可以通過遙控鏈接降低輸出功率. When the SNR/RSSI of the receiving end signal is low, the output power can be increased (發射機).
返回值例如: ATSG85.0,85.0_ set gain 85.000000 85.000000 好
備註The setting command will not be saved when the power is turned off.

1.3.4 set modulation mode command

格式ATSM $(gi), $(可配置的射頻輸出功率), $(星座)_
例如: ATSM1,1,2_
範圍Guard interval GI: 0 1/32; 1 1/16; 2 1/8; 3 1/4;
Convolution code rate code rate: 0 1/2; 1 2/3; 2 3/4; 3 5/6; 4 7/8;
Constellation constellation: 0 QPSK; 1 QAM16; 2 QAM64;
使用動態調整空氣接口速率. You can adjust the air interface rate to a higher rate when at a short distance, and lower the air interface rate at a long distance (發送結束).
返回值例如: ATSM1,1,2_ GI:1/16,CR:2/3,mod:QAM64,OK
備註The setting command will not be saved when the power is turned off.

1.3.5 get device status command

格式atgd_
範圍沒有
使用Used to query the current number of transmitting antennas, 保護間隔, convolutional code rate, 星座數量, transmitting frequency, 帶寬, and gain parameters (發射機)
返回值例如: ATGD_ SISO,GI:1/16,CR:1/2,mod:QPSK,頻率:800000千赫,BW:8000千赫,tx1_gain:86.000000 tx2_gain:86.000000 好
備註查詢命令

1.3.6 set encoder command

格式休息$(模式),$(RT),$(比特率),$(共和黨),$(音頻)_
例如: atse0,0,0.0,0,0_
    範圍Mode options mode: 0 H264; 1 h265
Low latency option rt: 0 normal latency; 1 低延遲; (requires the receiving end to also turn on this option at the same time for paired use)
比特率: 0 讓系統決定; >0 指定比特率(漂浮)
I frame interval gop: 0 讓系統決定; >0 specify gop
Audio encoding options audio: 0 禁用; 1 使能夠
使用用於設置編碼參數 (sender)
返回值例如: ATSE0,0,0.0,0,0_ MODE:0,RT:0,比特率: 0.0Mbps的,共和黨:0,音頻:0,好
備註設定指令並斷電保存. Only some models support low-latency option settings (please consult the supplier for details)

1.3.7 get encoder command

格式ATGE_
範圍沒有
使用Used to query encoding parameters (sender)
返回值例如: ATGE_ MODE:0,RT:0,比特率:4.0Mbps的,共和黨:10,音頻:0,AES:0,好
備註1. 查詢命令
2. The aes parameter indicates the current encryption status: 0 禁用; 1 enable1

1.3.8 get input command

格式atgi_
範圍沒有
使用Used to query the current camera input parameters (sender)
返回值例如: ATGI_ input_size:1080p,input_rate: 60FPS,Sensor_Type:HDMI,好
備註查詢命令

1.3.9 set input command

格式這將是$ 5(input_size),$(input_rate)_
例如: ATSI1080.25_
範圍輸入分辨率input_size: 0 let system detect; >0 指定輸入大小
輸入幀速率input_rate: 0 let system detect; >0 指定輸入FPS
使用Used to specify input resolution and frame rate to meet some special signal sources or some special application needs (發送結束)
返回值例如: ATSI1080,25_ input_size:1080p,input_rate: 25FPS,好
備註1、 用戶通過此命令指定輸入分辨率和幀速率之後, 該系統將不再檢測到信號源 (Use with caution) 2、 Users can restore the default through the following command: ATSI0,0_ 3. 設定指令並斷電保存.

1.3.10 set output command

格式Atro $(output_size),$(output_rate)_
例如: ATSO720,30_
    範圍發件人: 編碼輸出分辨率輸出_size: 0 等於input_size; >0 specify output size Receiving end: HDMI輸出分辨率 (720, 1080)
發件人: 編碼輸出幀速率output_rate: 0 等於input_rate; >0 指定output_rate( FPS) Receiving end: HDMI輸出幀速率720p支持幀速率 (50, 60); 1080P支持幀速率 (24, 25, 30, 50, 60)
使用Sending end: used to specify the encoding output resolution and frame rate to meet the scaling and frame reduction requirements of certain applications. 接收器: 用於配置HDMI輸出的分辨率和幀速率
返回值例如: ATSO720,30_ output_size:720p,output_rate: 30FPS,好
備註1. For HDMI input, this command is invalid when AV input 2、output_size <= input_size;output_rate<= input_rate 3. 設定指令並斷電保存.

1.3.11 set user command

格式ATSU$(文),$(艾因)_
例如: ATSU0,1_
範圍Video input selection vin: 0 讓系統檢測;1 force cvbs input;2 force hdmi/sdi input Audio input selection ain: 0 let system detect; 1 強制類比輸入
使用用於滿足特定的應用要求 (例如: HDMI/SDI 輸入視頻, 麥克風輸入音訊)
返回值例如: ATSU0,1_ ATSU0,1 OK
備註1、 設定指令並斷電保存.

1.3.12 get user command

格式atgu _
例如: atgu_
paramet er沒有
使用Used to query user-specific configuration
返回值例如: ATGU_ ATGU0,1 OK
備註1、 查詢命令 2、 Please refer to ATSU command for return parameter description.

1.3.13 set audio input command

格式ATSAI$(林),$(ain_vol) _ 例如: 關閉 0,50_
範圍類比音訊輸入模式選擇線: 0 麥克風介面; 1 line in Analog audio input volume control ain_vol: mic_in recommended 50; 推薦行 0
使用用於設定類比音訊輸入參數
返回值例如: RELEASED0.50_ FREE 0.50 好
備註1、 設定指令並斷電保存. 2、 ain_vol setting range [-78, 80] 3、 Not all models support this command

1.3.14 get audio input command

格式ATGAI _
例如: ATGAI_
範圍沒有
使用Used to query analog audio input configuration
返回值例如: ATGAI_ ATGAI0.50 OK
備註1、 查詢命令 2、 Please refer to ATSA command for return parameter description. 3、 Not all models support this command

1.3.15 set receiver command

格式ATSR$(頻率), $(BW), $(RT), $(CVB)_
例如: ATSR320000,6000,0,0_
範圍DR2C carrier center frequency freq (千赫) 161000〜860000 (161兆赫〜860MHz的, 1千赫步)
DR2C頻道帶寬BW (千赫)               2000〜8000(2兆赫~8兆赫, 1千赫步)
Low latency option rt: 0 normal latency; 1 低延遲; (requires the transmitter to also turn on this option at the same time for paired use)
AV output format cvbs: 0 朋友; 1 NTSC
使用Used to set receiver parameters
返回值例如: ATSR320000,6000,0,0_ ATSR320000,6000,0,0 OK
備註1、 設定指令並斷電保存. 2. Only some models support low-latency option settings (please consult the supplier for details)

1.3.16 get receiver command

格式atgr _
範圍沒有
使用Used to query the receiving end parameters
返回值例如: ATGR_ ATGR320000,6000,0,aes:0,CVB:0 好
備註1、 查詢命令 2、 The aes parameter indicates the current encryption status: 0 禁用; 1 使能夠 3、 The cvbs parameter indicates the current AV output format: 0 朋友; 1 NTSC

1.3.17 get bit error rate command

格式atgb_
範圍沒有
使用Used to query the bit error rate and signal strength of the dual antennas at the receiving end
返回值例如: ATGB_ ATGB ber1:0.00% BER2:0.00% RSSI1:54 接收訊號強度指示2:53 鎖1:1 lock2:1 好
備註1、 查詢命令 2、 ber1 and ber2 respectively represent the bit error rate of each antenna, 範圍從 0.0% 至 100.0% 3、 RSSI1 and RSSI2 respectively represent the signal strength of each antenna, 範圍從 0 至 100. 4、 Lock1 and Lock2 respectively represent the signal locking status of each antenna (1 represents signal locking)

1.3.18 set ip address command

格式atsip $(IP), $(IP) _
例如: ATIP192.168.1115,192.16.15.15_
範圍本地IP地址
本地IP地址 (重複確認)
使用Used to set the receiving IP address
返回值例如: ATSIP192.168.1.215,192.168.1.215_ ATSIP192.168.1.215 OK
備註設置IP地址後, the receiving end needs to be restarted to take effect.Set the command and save it after power off.

1.3.19 Get IP address command

格式ATGIP_
例如: ATGIP_
範圍沒有
使用Used to query the current IP address of the receiving end
返回值例如: ATGIP_ ATGIP192.168.0.215 OK
備註查詢命令

1.3.20 set password command

格式ATSP$(密碼), $(密碼) _
例如: ATSP123456,123456_
範圍AES 密鑰密碼: 6-數位密碼 (ASCII)
AES 密鑰密碼: 6-數位密碼 (ASCII) (重複確認)
使用Used to set the AES key of the transceiver and receiver
返回值例如: ATSP123456,123456_ ATSP123456 OK
備註When the password is all 0s, turn off AES encryption.Set the command and save it after power off.

1.3.21 set data transfer command

格式Atst $(波特率), $( 平價) _
例如: ATST115200,0_
範圍波特率: 1200、2400、4800、9600、19200、38400、57600、115200
Check parity: 0: 沒有任何; 1:奇怪的; 2:甚至
使用Used to set the baud rate and check bit of the data transparent transmission serial port
返回值例如: ATST115200,0_ ATST115200,0 OK
備註設置命令

1.3.22 get data transfer command

格式Traffic safety_
範圍沒有
使用Used to query the baud rate and check digit of the data transparent transmission serial port
返回值例如: Traffic safety_ ATGT115200,0 OK
備註查詢命令

1.3.23 OSD overlay protocol

格式ATOSD$(IDX),$(X),$(),$(斯特)_
例如: ATOSD0,40,20,高度: 100米_
範圍idx index: 0〜7 (supports OSD overlay of 8 區域) x坐標: 0~1919 y coordinate:0~1079 str: 將顯示在相應的坐標上顯示的字符串 (空間符號用於清除顯示)
使用用於在視頻屏幕上疊加用戶OSD信息
返回值沒有
備註1. 用戶根據最大1920指定OSD顯示的X和Y坐標×1080 像素, 系統將根據實際顯示情況校正坐標. 2、str參數不能包含'_’ 特點

1.4         Customer project customization commands

The following commands are AT commands added for customer-customized projects, commands that must be supported by non-conventional shipping firmware.

1.4.1 set frequency command

格式ATSF$(頻率)_
例如: ATSF750000_
範圍Transmitter carrier center frequency freq (千赫) 200000〜2700000 (200MHz〜2.7GHz, 1千赫步)
使用Dynamically modify the center frequency, effective immediately (sender)
返回值例如: ATSF750000_ set freq 750000 好
備註1、 Setting command will not be saved after power off

1.4.2 set audio encoder command

格式FALSE$(audio_bitrate) _ 例如: ATSAE64.0_
範圍Audio bitrate audio_bitrate: unit Kbps (漂浮)
使用Used to set the audio encoding bit rate
返回值例如: ATSAE64.0_ ATSAE64.0Kbps OK
備註1、 設定指令並斷電保存.

1.4.3 get audio encoder command

格式ATGAE_
例如:ATGAE_
範圍沒有
使用Used to query the audio encoding bit rate
返回值例如: ATGAE_ ATGAE64.0Kbps OK
備註1、 查詢命令

1.4.4 set channel command

格式ATSC$(chn), $( disp_num) _
例如: ATSC0,1_
範圍Display channel number 0~3(When displaying in four-split screen, it is used to specify the starting display channel.)
顯示模式 1: single-channel full-screen display; 4: four-split screen display
使用Used to set the receiving end display mode and display channel (Quad-screen display or corresponding channel full-screen display)
返回值例如: ATSC0,1_ ATSC0,1 OK
備註設置命令

1.4.5 get channel command

格式ATGC_
範圍沒有
使用Used to query the receiving end display mode and display channel
返回值例如: ATGC_ ATGC0,1 OK
備註查詢命令

1.4.6 get status command

格式ATGS_
範圍沒有
使用Used to query the status of the receiver
返回值例如: ATGS_ ATGS RF:800.0MHz帶寬:4.0MHz MOD:QPSK CR:2/3 GI:1/16 空氣:3.90Mbps AES:OFF SIG1:20 SIG2:0 BER1:0.00% BER2:22.03% 鎖1:1 lock2:1 REC OFF No Storage OK
備註1. 查詢命令
2. AIR represents the air interface rate calculated based on the current wireless parameters (The actual transmission data bit rate shall not be higher than it)
3. SIG1 and SIG2 respectively represent the signal strength of each antenna, 範圍從 0 至 100.
4. BER1 and BER2 respectively represent the bit error rate of each antenna, 範圍從 0.0% 至 100.0%. 5、 Lock1 and Lock2 respectively represent the signal locking status of each antenna (1 represents signal locking)

1.4.7 dson command

格式ATDSON$(上) _ 例如: ATDSON1_
範圍Receiver OSD display switch
使用Instead of using OSD buttons, use AT commands to control the receiving end OSD display.
返回值例如: ATDSON1_ ATDSON1 OK
備註1、 設定指令並斷電保存.
  1. set rec command
格式ATSREC$(rec)_
例如: ATSREC1_
範圍Receiver recording initiation action 0: Close recording; 1: Start recording
使用Replaces the REC button to initiate recording action
返回值例如: ATSREC1_ ATSREC1 OK
備註1、 The setting command will not be saved when the power is turned off.

1.4.8 get rec command

格式ATGREC _
例如: ATGREC_
範圍沒有
使用Used to query the last recording initiation action and the current recording status. 例如, when the storage device is not connected, the current recording status may be inconsistent with the recording initiation action.
返回值例如: ATGREC_ ATGREC1,1 OK
備註1、 查詢命令 2、 For the description of return parameters, please refer to the introduction of the purpose.

1.4.9 set ts command

格式ATSTS$(ts) _
例如: ATSTS1_
範圍Transport stream protocol ts: 0 our private protocol; 1 mpegts protocol
使用Set transport stream protocol (Compatible with other people’s product needs)
返回值例如: ATSTS1_ ATSTS1 OK
備註1、 設定指令並斷電保存.

1.4. 10 get ts command

格式ATGTS_
例如: ATGTS_
範圍沒有
使用Used to query the currently used transport stream protocol
返回值例如: ATGTS_ ATGTS1 OK
備註1. 查詢命令
2. Please refer to the ATSTS command for return parameter description.

1.4. 11 set key command

格式ATSK$(ckey)_
例如: ATSK12345678abcdefghIJKLMNOP!@#$%^&*_
範圍Aes key ckey:32 ascii 人物所有 ‘0’ means disabling aes encryption and decryption
使用Used to set the key for aes encryption and decryption
返回值例如: ATSK12345678abcdefghIJKLMNOP!@#$%^&*_ ATSK12345678abcdefghIJKLMNOP!@#$%^&* 好
備註After setting the key,Requires a reboot to take effect設定指令並斷電保存.

1.4.12 get sn command

格式ATGSN_
例如: ATGSN_
範圍沒有
使用Used to obtain unique serial number
返回值例如: ATGSN_ SN:e461c4518f221e2c OK
備註查詢命令

1.4.13 set reset command

格式ATSRST$(重置)_
例如: ATSRST1_
範圍Receiver software reset command 0: No action; 1: Software reset
使用Software restart system
返回值例如: ATSRST1_ ATSRST1 OK
備註1、 The setting command will not be saved when the power is turned off.

2. Download PDF commands list

問一個問題

← 返回

感謝你的回應。 ✨