Конфігурація параметрів модуля COFDM Команди UART AT

Версія 2.2

Version update record

ВерсіяUpdate dateописати
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-28switches
1.52017-3-27Add ATSP protocol
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
Added 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

When using our COFDM transceiver module, users may need to modify the configuration parameters of the module. In order to simplify the user’s operation, we design the parameter configuration into a few simple AT commands. The user only needs to use the specified AT command and pass the corresponding parameters to complete the parameter setting of the COFDM module.

1.1 Command introduction

The AT command to configure COFDM module parameters starts with AT and ends with an underscore _. Each AT command has several or no parameters, and each AT command has a return value.

Users can configure the serial port of the COFDM module (Рівень TTL, 3.3В) 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

ТипAT-команди
Query commandATDR, ATG, ATGE, ATGI, ATGR, ATGT, ATGB, ATGU, ATGIP, ATGTS, ATGAI, ATGAE
Setup instructionsАТСД, ATSF, АТСГ, АТСМ, ATSE, ATSI, ATSO, ATSR, ATSP, ATST, ATSU, АТОСД, ATSIP, ATSTS, ATSAI, ATSAE

1.2.2 By power-off save

ТипAT-команди
Power-off save commandАТСД, ATSE, ATSI, ATSO, ATSR, ATSP, ATST, ATSU, ATSIP, ATSTS, ATSAI, ATSAE
Commands are not saved when power is offATSF, АТСГ, АТСМ, АТОСД

1.2.3 By configuration objects

ТипAT-команди
Sender configuration commandATDR、АТСД、ATG、ATSF、АТСГ、АТСМ、ATSE、ATGE、ATSI、ATGI、ATSO、ATSP、ATST、ATGT、ATSU、ATGU、АТОСД、ATSTS、ATSAI、ATGAI、ATSAE、ATGAE
Receiver configuration commandATDR、ATSR、ATGR、ATSP、ATST、ATGT、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 “device profile” string
Receiver-SUE1 returns “ATDRSUE1 OK” string
Receiver-SHD1 returns “ATDRSHD1 OK” string
ЗауваженняQuery command

1.3. 2 set device command

ФорматATSD$(mimo),$(gi),$(code_rate),$(constellation),$(частота(кГц)),$(bw(кГц)),$(tx1_gain), $(tx2_gain)_ Наприклад: ATSD0,1,0,0,800000,8000,86.0,86.0_
      параметрSingle antenna/dual antenna mimo: 0 mimo disable; 1 mimo enable
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крок кГц)
Transmitting antenna 1 gain tx1_gain 0.0~89.75dB, 0.25dB step
Turn off antenna 2 gain 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 добре
ЗауваженняSet the command and save it after power off.
Data rate calculation formulas corresponding to different bandwidths, guard intervals, convolutional code rates, and constellations.
Air interface rate Rate(МБ/с) = (Пропускна здатність(MHz) * 8.0/7.0) / (1+GI) * 1512/2048 * log2(точка сузір'я) * code_rate * 188/204.
Taking 8MHz bandwidth as an example, different guard intervals, 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)_
Наприклад: ATSG85.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, the output power can be reduced through the remote control link. 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), $(code_rate), $(constellation)_
Наприклад: 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;
використовуватиDynamically adjust the air interface rate. 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 (sending end).
повертається значенняНаприклад: 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, number of constellations, 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 добре
ЗауваженняQuery command

1.3.6 set encoder command

ФорматATSE$(режим),$(rt),$(бітрейт),$(gop),$(аудіо)_
Наприклад: 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 let system decide; >0 specify bitrate(float)
I frame interval gop: 0 let system decide; >0 specify gop
Audio encoding options audio: 0 відключити; 1 включити
використовуватиUsed to set encoding parameters (sender)
повертається значенняНаприклад: ATSE0,0,0.0,0,0_ MODE:0,RT:0,бітрейт: 0.0Мбіт/с,gop:0,аудіо:0,добре
ЗауваженняSet the command and save it after power off. 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.0Мбіт/с,gop:10,аудіо:0,aes:0,добре
Зауваження1. Query command
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:1080стор,input_rate: 60fps,sensor_type:hdmi,добре
ЗауваженняQuery command

1.3.9 set input command

ФорматATSI$(input_size),$(input_rate)_
Наприклад: ATSI1080,25_
параметрInput resolution input_size: 0 let system detect; >0 specify input size
Input frame rate input_rate: 0 let system detect; >0 specify input fps
використовуватиUsed to specify input resolution and frame rate to meet some special signal sources or some special application needs (sending end)
повертається значенняНаприклад: ATSI1080,25_ input_size:1080стор,input_rate: 25fps,добре
Зауваження1、 After the user specifies the input resolution and frame rate through this command, the system will no longer detect the signal source (Use with caution) 2、 Users can restore the default through the following command: ATSI0,0_ 3. Set the command and save it after power off.

1.3.10 set output command

ФорматATSO$(output_size),$(output_rate)_
Наприклад: ATSO720,30_
    параметрSender: encoding output resolution output_size: 0 equal to input_size; >0 specify output size Receiving end: HDMI output resolution (720, 1080)
Sender: encoding output frame rate output_rate: 0 equal to input_rate; >0 specify output_rate( fps) Receiving end: HDMI output frame rate 720p supports frame rate (50, 60); 1080p supports frame rate (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. Приймач: used to configure the resolution and frame rate of HDMI output
повертається значенняНаприклад: ATSO720,30_ output_size:720стор,output_rate: 30fps,добре
Зауваження1. For HDMI input, this command is invalid when AV input 2、output_size <= input_size;output_rate<=input_rate 3. Set the command and save it after power off.

1.3.11 set user command

ФорматATSU$(vin),$(ain)_
Наприклад: ATSU0,1_
параметрVideo input selection vin: 0 let the system detect;1 force cvbs input;2 force hdmi/sdi input Audio input selection ain: 0 let system detect; 1 force analog input
використовуватиUsed to meet specific application requirements (наприклад: HDMI/SDI input video, MIC input audio)
повертається значенняНаприклад: ATSU0,1_ ATSU0,1 OK
Зауваження1、 Set the command and save it after power off.

1.3.12 get user command

ФорматATGU _
Наприклад: ATGU_
paramet erнемає
використовуватиUsed to query user-specific configuration
повертається значенняНаприклад: ATGU_ ATGU0,1 OK
Зауваження1、 Query command 2、 Please refer to ATSU command for return parameter description.

1.3.13 set audio input command

ФорматATSAI$(lin),$(ain_vol) _ Наприклад: ATSAI0,50_
параметрAnalog audio input mode selection lin: 0 mic in; 1 line in Analog audio input volume control ain_vol: mic_in recommended 50; line in recommended 0
використовуватиUsed to set analog audio input parameters
повертається значенняНаприклад: RELEASED0.50_ FREE 0.50 добре
Зауваження1、 Set the command and save it after power off. 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、 Query command 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), $(cvbs)_
Наприклад: ATSR320000,6000,0,0_
параметрDR2C carrier center frequency freq (кГц) 161000~860000 (161МГц~860 МГц, 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、 Set the command and save it after power off. 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,cvbs:0 добре
Зауваження1、 Query command 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 RSSI2:53 Lock1:1 Lock2:1 добре
Зауваження1、 Query command 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) _
Наприклад: ATSIP192.168.1.215,192.168.1.215_
параметрLocal IP address
Local IP address (повторіть для підтвердження)
використовуватиUsed to set the receiving IP address
повертається значенняНаприклад: ATSIP192.168.1.215,192.168.1.215_ ATSIP192.168.1.215 OK
ЗауваженняAfter setting the IP address, 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
ЗауваженняQuery command

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$(швидкість передачі даних), $( parity) _
Наприклад: ATST115200,0_
параметршвидкість передачі даних: 1200、2400、4800、9600、19200、38400、57600、115200
Check parity: 0: Жодного; 1:Odd; 2:Even
використовувати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
ЗауваженняQuery command

1.3.23 OSD overlay protocol

ФорматATOSD$(idx),$(х),$(and),$(вул)_
Наприклад: ATOSD0,40,20,height: 100m_
параметрidx index: 0~7 (supports OSD overlay of 8 areas) координата x: 0~1919 y coordinate:0~1079 str: рядок для відображення у відповідних координатах (Символ пробілу використовується для очищення дисплея)
використовуватиВикористовується для накладання інформації екранного меню користувача на екран відео
повертається значеннянемає
Зауваження1. Користувач вказує координати x і y екранного меню відповідно до максимуму 1920×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 (float)
використовуватиUsed to set the audio encoding bit rate
повертається значенняНаприклад: ATSAE64.0_ ATSAE64.0Kbps OK
Зауваження1、 Set the command and save it after power off.

1.4.3 get audio encoder command

ФорматATGAE_
Наприклад:ATGAE_
параметрнемає
використовуватиUsed to query the audio encoding bit rate
повертається значенняНаприклад: ATGAE_ ATGAE64.0Kbps OK
Зауваження1、 Query command

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.)
Display mode 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
ЗауваженняQuery command

1.4.6 get status command

ФорматATGS_
параметрнемає
використовуватиUsed to query the status of the receiver
повертається значенняНаприклад: ATGS_ ATGS RF:800.0МГц BW:4.0MHz MOD:QPSK CR:2/3 GI:1/16 ПОВІТРЯ:3.90Mbps AES:OFF SIG1:20 SIG2:0 BER1:0.00% BER2:22.03% Lock1:1 Lock2:1 REC OFF No Storage OK
Зауваження1. Query command
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、 Set the command and save it after power off.
  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、 Query command 2、 For the description of return parameters, please refer to the introduction of the purpose.

1.4.9 set ts command

ФорматATSTS$(ц) _
Наприклад: 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、 Set the command and save it after power off.

1.4. 10 get ts command

ФорматATGTS_
Наприклад: ATGTS_
параметрнемає
використовуватиUsed to query the currently used transport stream protocol
повертається значенняНаприклад: ATGTS_ ATGTS1 OK
Зауваження1. Query command
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 charactersвсе ‘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 effectSet the command and save it after power off.

1.4.12 get sn command

ФорматATGSN_
Наприклад: ATGSN_
параметрнемає
використовуватиUsed to obtain unique serial number
повертається значенняНаприклад: ATGSN_ SN:e461c4518f221e2c OK
ЗауваженняQuery command

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

Ask A Question

← Назад

Дякуємо за вашу відповідь. ✨