پیکربندی پارامتر ماژول COFDM دستورات UART AT

نسخه 2.2

Version update record

نسخهUpdate datedescribe
1.02016-10-24initial version
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.3V) and the module parameters. استفاده کنید Serial port debugging assistant (حالت متنی) to send AT commands, the default serial port configuration:

  • پورت سریال: COM25
  • نرخ باد: 9600
  • برابری: هیچ کدام
  • Stop Bit: 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 Commands
Query commandATDR, ATGD, ATGE, ATGI, ATGR, ATGT, ATGB, ATGU, ATGIP, ATGTS, ATGAI, ATGAE
Setup instructionsATSD, ATSF, ATSG, ATSM, ATSE, ATSI, ATSO, ATSR, ATSP, ATST, ATSU, ATOSD, ATSIP, ATSTS, ATSAI, ATSAE

1.2.2 By power-off save

تایپ کنیدAT Commands
Power-off save commandATSD, ATSE, ATSI, ATSO, ATSR, ATSP, ATST, ATSU, ATSIP, ATSTS, ATSAI, ATSAE
Commands are not saved when power is offATSF, ATSG, ATSM, ATOSD

1.2.3 By configuration objects

تایپ کنیدAT Commands
Sender configuration commandATDR、ATSD、ATGD、ATSF、ATSG、ATSM、ATSE、ATGE、ATSI、ATGI、ATSO、ATSP、ATST、ATGT、ATSU、ATGU、ATOSD、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.
return valueTransmitter 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),$(صورت فلکی),$(freq(کیلوهرتز)),$(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, 1KHz step)
Transmitter channel bandwidth bw (کیلوهرتز) 2000~8000 (2MHz~8MHz, 1KHz step)
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)
return valueبه عنوان مثال: ATSD0,1,0,0,800000,8000,86.0,86.0_ SISO,GI:1/16,CR:1/2,MOD:QPSK,freq: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(مگابایت بر ثانیه) = (BandWidth(مگاهرتز) * 8.0/7.0) / (1+GI) * 1512/2048 * log2(constellation point) * 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 (فرستنده).
return valueبه عنوان مثال: 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), $(صورت فلکی)_
به عنوان مثال: 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).
return valueبه عنوان مثال: 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 (فرستنده)
return valueبه عنوان مثال: ATGD_ SISO,GI:1/16,CR:1/2,MOD:QPSK,freq: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 low latency; (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 disable; 1 enable
استفاده کنیدUsed to set encoding parameters (sender)
return valueبه عنوان مثال: 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)
return valueبه عنوان مثال: 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 disable; 1 enable1

1.3.8 get input command

قالبATGI_
پارامترهیچ کدام
استفاده کنیدUsed to query the current camera input parameters (sender)
return valueبه عنوان مثال: ATGI_ input_size:1080ص,input_rate: 60فریم در ثانیه,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)
return valueبه عنوان مثال: ATSI1080,25_ input_size:1080ص,input_rate: 25فریم در ثانیه,باشه
تذکر دهید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( فریم در ثانیه) 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
return valueبه عنوان مثال: ATSO720,30_ output_size:720ص,output_rate: 30فریم در ثانیه,باشه
تذکر دهید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),$(عین)_
به عنوان مثال: 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)
return valueبه عنوان مثال: 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
return valueبه عنوان مثال: 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
return valueبه عنوان مثال: 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
return valueبه عنوان مثال: 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$(freq), $(bw), $(rt), $(cvbs)_
به عنوان مثال: ATSR320000,6000,0,0_
پارامترDR2C carrier center frequency freq (کیلوهرتز) 161000~860000 (161مگاهرتز ~ 860 مگاهرتز, 1KHz step)
DR2C channel bandwidth bw (کیلوهرتز)               2000~8000(2MHz~8MHz, 1KHz step)
Low latency option rt: 0 normal latency; 1 low latency; (requires the transmitter to also turn on this option at the same time for paired use)
AV output format cvbs: 0 pal; 1 ntsc
استفاده کنیدUsed to set receiver parameters
return valueبه عنوان مثال: 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
return valueبه عنوان مثال: ATGR_ ATGR320000,6000,0,aes:0,cvbs:0 باشه
تذکر دهید1、 Query command 2、 The aes parameter indicates the current encryption status: 0 disable; 1 enable 3、 The cvbs parameter indicates the current AV output format: 0 pal; 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
return valueبه عنوان مثال: 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
return valueبه عنوان مثال: 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
return valueبه عنوان مثال: 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
return valueبه عنوان مثال: 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:عجیب و غریب; 2:حتی
استفاده کنیدUsed to set the baud rate and check bit of the data transparent transmission serial port
return valueبه عنوان مثال: 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
return valueبه عنوان مثال: Traffic safety_ ATGT115200,0 OK
تذکر دهیدQuery command

1.3.23 OSD overlay protocol

قالبATOSD$(idx),$(x),$(and),$(خ)_
به عنوان مثال: ATOSD0,40,20,height: 100m_
پارامترidx index: 0~7 (supports OSD overlay of 8 areas) x coordinate: 0~1919 y coordinate:0~1079 str: string to be displayed at the corresponding coordinates (The space symbol is used to clear the display)
استفاده کنیدUsed to overlay user OSD information on the video screen
return valueهیچ کدام
تذکر دهید1. The user specifies the x and y coordinates of the OSD display according to the maximum 1920×1080 پیکسل ها, and the system will correct the coordinates according to the actual display situation. 2、The str parameter cannot contain the ‘_’ character

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$(freq)_
به عنوان مثال: ATSF750000_
پارامترTransmitter carrier center frequency freq (کیلوهرتز) 200000~2700000 (200مگاهرتز ~ 2.7 گیگاهرتز, 1KHz step)
استفاده کنیدDynamically modify the center frequency, effective immediately (sender)
return valueبه عنوان مثال: 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
return valueبه عنوان مثال: 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
return valueبه عنوان مثال: 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)
return valueبه عنوان مثال: ATSC0,1_ ATSC0,1 OK
تذکر دهیددستور را تنظیم کنید

1.4.5 get channel command

قالبATGC_
پارامترهیچ کدام
استفاده کنیدUsed to query the receiving end display mode and display channel
return valueبه عنوان مثال: ATGC_ ATGC0,1 OK
تذکر دهیدQuery command

1.4.6 get status command

قالبATGS_
پارامترهیچ کدام
استفاده کنیدUsed to query the status of the receiver
return valueبه عنوان مثال: 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.
return valueبه عنوان مثال: 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
return valueبه عنوان مثال: 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.
return valueبه عنوان مثال: 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$(ts) _
به عنوان مثال: ATSTS1_
پارامترTransport stream protocol ts: 0 our private protocol; 1 mpegts protocol
استفاده کنیدSet transport stream protocol (Compatible with other people’s product needs)
return valueبه عنوان مثال: 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
return valueبه عنوان مثال: 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
return valueبه عنوان مثال: 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
return valueبه عنوان مثال: ATGSN_ SN:e461c4518f221e2c OK
تذکر دهیدQuery command

1.4.13 set reset command

قالبATSRST$(reset)_
به عنوان مثال: ATSRST1_
پارامترReceiver software reset command 0: No action; 1: Software reset
استفاده کنیدSoftware restart system
return valueبه عنوان مثال: 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

← برگشت

از پاسخ شما سپاسگزاریم. ✨