Cấu hình tham số mô-đun COFDM Lệnh UART AT

Phiên bản 2.2

Version update record

Phiên bảnUpdate datemô tả
1.02016-10-24phiên bản đầu tiên
1.12016-11-1ATDR reply differentiation
1.22016-12-26mô-đun
1.32017-2-14ATSE and ATGE add audio
1.42017-2-28công tắc
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 TẠI 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 level, 3.3V) and the module parameters. Sử dụng Serial port debugging assistant (chế độ văn bản) to send AT commands, the default serial port configuration:

  • Cổng nối tiếp: COM25
  • Tốc độ truyền: 9600
  • Tính chẵn lẻ: Không có
  • Dừng bit: 1 chút
  • Sending Mode: Text Mode
  • Example Command: ATGD_
COFDM Module Parameter Configuration UART AT commands
Cấu hình tham số mô-đun COFDM Lệnh UART AT

1.2 Command classification

1.2.1 By function

KiểuLệnh AT
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

KiểuLệnh AT
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

KiểuLệnh AT
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

Định dạngATDR_
tham sốkhông có
sử dụngUsed for integrated systems to do device self-tests and identify connected modules.
giá trị trả vềTransmitter returns the “device profile” string
Receiver-SUE1 returns “ATDRSUE1 OK” string
Receiver-SHD1 returns “ATDRSHD1 OK” string
Nhận xétQuery command

1.3. 2 set device command

Định dạngATSD$(mimo),$(gi),$(code_rate),$(constellation),$(tần số(KHz)),$(bw(KHz)),$(tx1_gain), $(tx2_gain)_ Ví dụ: ATSD0,1,0,0,800000,8000,86.0,86.0_
      tham số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 (KHz) 70000~3000000 (70MHz~3GHz, 1Bước KHz)
Transmitter channel bandwidth bw (KHz) 2000~8000 (2MHz~8 MHz, 1Bước KHz)
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
sử dụngUsed to set various parameters of the device (sender)
giá trị trả vềVí dụ: ATSD0,1,0,0,800000,8000,86.0,86.0_ SISO,GI:1/16,CR:1/2,MOD:QPSK,tần số:800000KHz,bw:8000KHz,tx1_gain:86.000000 tx2_gain:86.000000 ĐƯỢC RỒI
Nhận xétSet 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(MBps) = (BandWidth(MHz) * 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

Định dạngATSG$( tx1_gain),$( tx1_gain)_
Ví dụ: ATSG85.0,85.0_
tham sốtx1_gain: Máy phát 1 nhận được
tx2_gain: Máy phát 2 nhận được
sử dụngUsed to dynamically adjust the output power. Ví dụ, 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 (máy phát).
giá trị trả vềVí dụ: ATSG85.0,85.0_ set gain 85.000000 85.000000 ĐƯỢC RỒI
Nhận xétThe setting command will not be saved when the power is turned off.

1.3.4 set modulation mode command

Định dạngATSM$(gi), $(code_rate), $(constellation)_
Ví dụ: ATSM1,1,2_
tham số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;
sử dụngDynamically 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).
giá trị trả vềVí dụ: ATSM1,1,2_ GI:1/16,CR:2/3,MOD:QAM64,OK
Nhận xétThe setting command will not be saved when the power is turned off.

1.3.5 get device status command

Định dạngATGD_
tham sốkhông có
sử dụngUsed to query the current number of transmitting antennas, khoảng bảo vệ, convolutional code rate, number of constellations, transmitting frequency, băng thông, and gain parameters (máy phát)
giá trị trả vềVí dụ: ATGD_ SISO,GI:1/16,CR:1/2,MOD:QPSK,tần số:800000KHz,bw:8000KHz,tx1_gain:86.000000 tx2_gain:86.000000 ĐƯỢC RỒI
Nhận xétQuery command

1.3.6 set encoder command

Định dạngATSE$(cách thức),$(rt),$(tốc độ bit),$(gop),$(âm thanh)_
Ví dụ: ATSE0,0,0.0,0,0_
    tham sốMode options mode: 0 h264; 1 h265
Low latency option rt: 0 normal latency; 1 độ trễ thấp; (requires the receiving end to also turn on this option at the same time for paired use)
tốc độ bit: 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 cho phép
sử dụngUsed to set encoding parameters (sender)
giá trị trả vềVí dụ: ATSE0,0,0.0,0,0_ MODE:0,RT:0,tốc độ bit: 0.0Mb/giây,gop:0,âm thanh:0,ĐƯỢC RỒI
Nhận xétSet 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

Định dạngATGE_
tham sốkhông có
sử dụngUsed to query encoding parameters (sender)
giá trị trả vềVí dụ: ATGE_ MODE:0,RT:0,tốc độ bit:4.0Mb/giây,gop:10,âm thanh:0,aes:0,ĐƯỢC RỒI
Nhận xét1. Query command
2. The aes parameter indicates the current encryption status: 0 disable; 1 enable1

1.3.8 get input command

Định dạngATGI_
tham sốkhông có
sử dụngUsed to query the current camera input parameters (sender)
giá trị trả vềVí dụ: ATGI_ input_size:1080P,input_rate: 60khung hình/giây,sensor_type:hdmi,ĐƯỢC RỒI
Nhận xétQuery command

1.3.9 set input command

Định dạngATSI$(input_size),$(input_rate)_
Ví dụ: ATSI1080,25_
tham số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
sử dụngUsed to specify input resolution and frame rate to meet some special signal sources or some special application needs (sending end)
giá trị trả vềVí dụ: ATSI1080,25_ input_size:1080P,input_rate: 25khung hình/giây,ĐƯỢC RỒI
Nhận xét1、 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

Định dạngATSO$(output_size),$(output_rate)_
Ví dụ: ATSO720,30_
    tham số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( khung hình/giây) Receiving end: HDMI output frame rate 720p supports frame rate (50, 60); 1080p supports frame rate (24, 25, 30, 50, 60)
sử dụngSending end: used to specify the encoding output resolution and frame rate to meet the scaling and frame reduction requirements of certain applications. Người nhận: used to configure the resolution and frame rate of HDMI output
giá trị trả vềVí dụ: ATSO720,30_ output_size:720P,output_rate: 30khung hình/giây,ĐƯỢC RỒI
Nhận xét1. 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

Định dạngATSU$(vin),$(ôi)_
Ví dụ: ATSU0,1_
tham số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
sử dụngUsed to meet specific application requirements (Ví dụ: HDMI/SDI input video, MIC input audio)
giá trị trả vềVí dụ: ATSU0,1_ ATSU0,1 OK
Nhận xét1、 Set the command and save it after power off.

1.3.12 get user command

Định dạngATGU _
Ví dụ: ATGU_
paramet erkhông có
sử dụngUsed to query user-specific configuration
giá trị trả vềVí dụ: ATGU_ ATGU0,1 OK
Nhận xét1、 Query command 2、 Please refer to ATSU command for return parameter description.

1.3.13 set audio input command

Định dạngATSAI$(lin),$(ain_vol) _ Ví dụ: ATSAI0,50_
tham số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
sử dụngUsed to set analog audio input parameters
giá trị trả vềVí dụ: RELEASED0.50_ FREE 0.50 ĐƯỢC RỒI
Nhận xét1、 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

Định dạngATGAI _
Ví dụ: ATGAI_
tham sốkhông có
sử dụngUsed to query analog audio input configuration
giá trị trả vềVí dụ: ATGAI_ ATGAI0.50 OK
Nhận xét1、 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

Định dạngATSR$(tần số), $(bw), $(rt), $(cvb)_
Ví dụ: ATSR320000,6000,0,0_
tham sốDR2C carrier center frequency freq (KHz) 161000~860000 (161MHz~860 MHz, 1Bước KHz)
DR2C channel bandwidth bw (KHz)               2000~8000(2MHz~8 MHz, 1Bước KHz)
Low latency option rt: 0 normal latency; 1 độ trễ thấp; (requires the transmitter to also turn on this option at the same time for paired use)
AV output format cvbs: 0 pal; 1 ntsc
sử dụngUsed to set receiver parameters
giá trị trả vềVí dụ: ATSR320000,6000,0,0_ ATSR320000,6000,0,0 OK
Nhận xét1、 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

Định dạngATGR_
tham sốkhông có
sử dụngUsed to query the receiving end parameters
giá trị trả vềVí dụ: ATGR_ ATGR320000,6000,0,aes:0,cvb:0 ĐƯỢC RỒI
Nhận xét1、 Query command 2、 The aes parameter indicates the current encryption status: 0 disable; 1 cho phép 3、 The cvbs parameter indicates the current AV output format: 0 pal; 1 ntsc

1.3.17 get bit error rate command

Định dạngATGB_
tham sốkhông có
sử dụngUsed to query the bit error rate and signal strength of the dual antennas at the receiving end
giá trị trả vềVí dụ: ATGB_ ATGB ber1:0.00% ber2:0.00% RSSI1:54 RSSI2:53 Lock1:1 Lock2:1 ĐƯỢC RỒI
Nhận xét1、 Query command 2、 ber1 and ber2 respectively represent the bit error rate of each antenna, từ 0.0% ĐẾN 100.0% 3、 RSSI1 and RSSI2 respectively represent the signal strength of each antenna, từ 0 ĐẾN 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

Định dạngATSIP$(ip), $(ip) _
Ví dụ: ATSIP192.168.1.215,192.168.1.215_
tham sốLocal IP address
Local IP address (lặp lại để xác nhận)
sử dụngUsed to set the receiving IP address
giá trị trả vềVí dụ: ATSIP192.168.1.215,192.168.1.215_ ATSIP192.168.1.215 OK
Nhận xétAfter 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

Định dạngATGIP_
Ví dụ: ATGIP_
tham sốkhông có
sử dụngUsed to query the current IP address of the receiving end
giá trị trả vềVí dụ: ATGIP_ ATGIP192.168.0.215 OK
Nhận xétQuery command

1.3.20 set password command

Định dạngATSP$(mật khẩu), $(mật khẩu) _
Ví dụ: ATSP123456,123456_
tham sốMật khẩu khóa AES: 6-digit password (ASCII)
Mật khẩu khóa AES: 6-digit password (ASCII) (lặp lại để xác nhận)
sử dụngUsed to set the AES key of the transceiver and receiver
giá trị trả vềVí dụ: ATSP123456,123456_ ATSP123456 OK
Nhận xétWhen 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

Định dạngATST$(tốc độ baud), $( parity) _
Ví dụ: ATST115200,0_
tham sốtốc độ baud: 1200、2400、4800、9600、19200、38400、57600、115200
Check parity: 0: Không có; 1:Odd; 2:Thậm chí
sử dụngUsed to set the baud rate and check bit of the data transparent transmission serial port
giá trị trả vềVí dụ: ATST115200,0_ ATST115200,0 OK
Nhận xétĐặt lệnh

1.3.22 get data transfer command

Định dạngTraffic safety_
tham sốkhông có
sử dụngUsed to query the baud rate and check digit of the data transparent transmission serial port
giá trị trả vềVí dụ: Traffic safety_ ATGT115200,0 OK
Nhận xétQuery command

1.3.23 Giao thức lớp phủ OSD

Định dạngATOSD$(idx),$(x),$(),$(str)_
Ví dụ: ATOSD0,40,20, chiều cao: 100m_
tham sốchỉ số idx: 0~7 (hỗ trợ lớp phủ OSD của 8 khu vực) tọa độ x: 0~1919 y tọa độ:0~1079 str: chuỗi được hiển thị ở tọa độ tương ứng (Ký hiệu khoảng trắng được sử dụng để xóa màn hình)
sử dụngĐược sử dụng để phủ thông tin OSD của người dùng lên màn hình video
giá trị trả vềkhông có
Nhận xét1. Người dùng chỉ định tọa độ x và y của màn hình OSD theo mức tối đa 1920×1080 pixel, và hệ thống sẽ điều chỉnh tọa độ theo tình hình hiển thị thực tế. 2、Tham số str không thể chứa ‘_’ tính cách

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

Định dạngATSF$(tần số)_
Ví dụ: ATSF750000_
tham sốTransmitter carrier center frequency freq (KHz) 200000~2700000 (200MHz~2.7GHz, 1Bước KHz)
sử dụngDynamically modify the center frequency, effective immediately (sender)
giá trị trả vềVí dụ: ATSF750000_ set freq 750000 ĐƯỢC RỒI
Nhận xét1、 Setting command will not be saved after power off

1.4.2 set audio encoder command

Định dạngFALSE$(audio_bitrate) _ Ví dụ: ATSAE64.0_
tham sốAudio bitrate audio_bitrate: unit Kbps (float)
sử dụngUsed to set the audio encoding bit rate
giá trị trả vềVí dụ: ATSAE64.0_ ATSAE64.0Kbps OK
Nhận xét1、 Set the command and save it after power off.

1.4.3 get audio encoder command

Định dạngATGAE_
Ví dụ:ATGAE_
tham sốkhông có
sử dụngUsed to query the audio encoding bit rate
giá trị trả vềVí dụ: ATGAE_ ATGAE64.0Kbps OK
Nhận xét1、 Query command

1.4.4 set channel command

Định dạngATSC$(chn), $( disp_num) _
Ví dụ: ATSC0,1_
tham số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
sử dụngUsed to set the receiving end display mode and display channel (Quad-screen display or corresponding channel full-screen display)
giá trị trả vềVí dụ: ATSC0,1_ ATSC0,1 OK
Nhận xétĐặt lệnh

1.4.5 get channel command

Định dạngATGC_
tham sốkhông có
sử dụngUsed to query the receiving end display mode and display channel
giá trị trả vềVí dụ: ATGC_ ATGC0,1 OK
Nhận xétQuery command

1.4.6 get status command

Định dạngATGS_
tham sốkhông có
sử dụngUsed to query the status of the receiver
giá trị trả vềVí dụ: ATGS_ ATGS RF:800.0MHz BW:4.0MHz MOD:QPSK CR:2/3 GI:1/16 KHÔNG KHÍ:3.90Mbps AES:OFF SIG1:20 SIG2:0 BER1:0.00% BER2:22.03% Lock1:1 Lock2:1 REC OFF No Storage OK
Nhận xét1. 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, từ 0 ĐẾN 100.
4. BER1 and BER2 respectively represent the bit error rate of each antenna, từ 0.0% ĐẾN 100.0%. 5、 Lock1 and Lock2 respectively represent the signal locking status of each antenna (1 represents signal locking)

1.4.7 dson command

Định dạngATDSON$(TRÊN) _ Ví dụ: ATDSON1_
tham sốReceiver OSD display switch
sử dụngInstead of using OSD buttons, use AT commands to control the receiving end OSD display.
giá trị trả vềVí dụ: ATDSON1_ ATDSON1 OK
Nhận xét1、 Set the command and save it after power off.
  1. set rec command
Định dạngATSREC$(rec)_
Ví dụ: ATSREC1_
tham sốReceiver recording initiation action 0: Close recording; 1: Start recording
sử dụngReplaces the REC button to initiate recording action
giá trị trả vềVí dụ: ATSREC1_ ATSREC1 OK
Nhận xét1、 The setting command will not be saved when the power is turned off.

1.4.8 get rec command

Định dạngATGREC _
Ví dụ: ATGREC_
tham sốkhông có
sử dụngUsed to query the last recording initiation action and the current recording status. Ví dụ, when the storage device is not connected, the current recording status may be inconsistent with the recording initiation action.
giá trị trả vềVí dụ: ATGREC_ ATGREC1,1 OK
Nhận xét1、 Query command 2、 For the description of return parameters, please refer to the introduction of the purpose.

1.4.9 set ts command

Định dạngATSTS$(ts) _
Ví dụ: ATSTS1_
tham sốTransport stream protocol ts: 0 our private protocol; 1 mpegts protocol
sử dụngSet transport stream protocol (Compatible with other people’s product needs)
giá trị trả vềVí dụ: ATSTS1_ ATSTS1 OK
Nhận xét1、 Set the command and save it after power off.

1.4. 10 get ts command

Định dạngATGTS_
Ví dụ: ATGTS_
tham sốkhông có
sử dụngUsed to query the currently used transport stream protocol
giá trị trả vềVí dụ: ATGTS_ ATGTS1 OK
Nhận xét1. Query command
2. Please refer to the ATSTS command for return parameter description.

1.4. 11 set key command

Định dạngATSK$(ckey)_
Ví dụ: ATSK12345678abcdefghIJKLMNOP!@#$%^&*_
tham sốAes key ckey:32 ascii nhân vậtTất cả ‘0’ means disabling aes encryption and decryption
sử dụngUsed to set the key for aes encryption and decryption
giá trị trả vềVí dụ: ATSK12345678abcdefghIJKLMNOP!@#$%^&*_ ATSK12345678abcdefghIJKLMNOP!@#$%^&* ĐƯỢC RỒI
Nhận xétAfter setting the key,Requires a reboot to take effectSet the command and save it after power off.

1.4.12 get sn command

Định dạngATGSN_
Ví dụ: ATGSN_
tham sốkhông có
sử dụngUsed to obtain unique serial number
giá trị trả vềVí dụ: ATGSN_ SN:e461c4518f221e2c OK
Nhận xétQuery command

1.4.13 set reset command

Định dạngATSRST$(reset)_
Ví dụ: ATSRST1_
tham sốReceiver software reset command 0: No action; 1: Software reset
sử dụngSoftware restart system
giá trị trả vềVí dụ: ATSRST1_ ATSRST1 OK
Nhận xét1、 The setting command will not be saved when the power is turned off.

2. Download PDF commands list

Đặt một câu hỏi

← Quay lại

Tin nhắn của bạn đã được gửi