COFDM Module Parameter Configuration UART AT commands

Versione 2.2

Version update record

VersioneUpdate datedescribe
1.02016-10-24initial version
1.12016-11-1ATDR reply differentiation
1.22016-12-26module
1.32017-2-14ATSE and ATGE add audio
1.42017-2-28interruttori
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 A 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. Utilizzo Serial port debugging assistant (text mode) to send AT commands, the default serial port configuration:

  • Porta seriale: COM25
  • Velocità di trasmissione: 9600
  • Parity: None
  • Stop Bit: 1 morso
  • Sending Mode: Text Mode
  • Example Command: ATGD_
COFDM Module Parameter Configuration UART AT commands
COFDM Module Parameter Configuration UART AT commands

1.2 Command classification

1.2.1 By function

TipoAT 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

TipoAT 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

TipoAT Commands
Sender configuration commandATDRATSDATGDATSFATSGATSMATSEATGEATSIATGIATSOATSPATSTATGTATSUATGUATOSDATSTSATSAIATGAIATSAEATGAE
Receiver configuration commandATDRATSRATGRATSPATSTATGTATGBATSIPATGIPATSTS

1.3 Command details

1. 3.1 ping command

FormatATDR_
parameternone
useUsed for integrated systems to do device self-tests and identify connected modules.
return valueTransmitter returns thedevice profilestring
Receiver-SUE1 returnsATDRSUE1 OKstring
Receiver-SHD1 returnsATDRSHD1 OKstring
RemarkQuery command

1.3. 2 set device command

FormatATSD$(mimo),$(gi),$(code_rate),$(constellation),$(freq(KHz)),$(bw(KHz)),$(tx1_gain), $(tx2_gain)_ Per esempio: ATSD0,1,0,0,800000,8000,86.0,86.0_
      parameterSingle 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, 1KHz step)
Transmitter channel bandwidth bw (KHz) 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
useUsed to set various parameters of the device (sender)
return valuePer esempio: ATSD0,1,0,0,800000,8000,86.0,86.0_ SISO,GI:1/16,CR:1/2,MOD:QPSK,freq:800000KHz,bw:8000KHz,tx1_gain:86.000000 tx2_gain:86.000000 OK
RemarkSet 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) Calcolo della velocità di trasmissione del sistema di trasmissione wireless COFDM (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

FormatATSG$( tx1_gain),$( tx1_gain)_
Per esempio: ATSG85.0,85.0_
parametertx1_gain: Trasmettitore 1 gain
tx2_gain: Trasmettitore 2 gain
useUsed to dynamically adjust the output power. Per esempio, 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 (trasmettitore).
return valuePer esempio: ATSG85.0,85.0_ set gain 85.000000 85.000000 OK
RemarkThe setting command will not be saved when the power is turned off.

1.3.4 set modulation mode command

FormatATSM$(gi), $(code_rate), $(constellation)_
Per esempio: ATSM1,1,2_
parameterGuard 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;
useDynamically 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 valuePer esempio: ATSM1,1,2_ GI:1/16,CR:2/3,MOD:QAM64,OK
RemarkThe setting command will not be saved when the power is turned off.

1.3.5 get device status command

FormatATGD_
parameternone
useUsed to query the current number of transmitting antennas, guard interval, convolutional code rate, number of constellations, transmitting frequency, la larghezza di banda, and gain parameters (trasmettitore)
return valuePer esempio: ATGD_ SISO,GI:1/16,CR:1/2,MOD:QPSK,freq:800000KHz,bw:8000KHz,tx1_gain:86.000000 tx2_gain:86.000000 OK
RemarkQuery command

1.3.6 set encoder command

FormatATSE$(modalità),$(rt),$(bitrate),$(gop),$(audio)_
Per esempio: ATSE0,0,0.0,0,0_
    parameterMode options mode: 0 h264; 1 h265
Low latency option rt: 0 normal latency; 1 bassa latenza; (requires the receiving end to also turn on this option at the same time for paired use)
bitrate: 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
useUsed to set encoding parameters (sender)
return valuePer esempio: ATSE0,0,0.0,0,0_ MODE:0,RT:0,bitrate: 0.0Mbps,gop:0,audio:0,OK
RemarkSet 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

FormatATGE_
parameternone
useUsed to query encoding parameters (sender)
return valuePer esempio: ATGE_ MODE:0,RT:0,bitrate:4.0Mbps,gop:10,audio:0,aes:0,OK
Remark1. Query command
2. The aes parameter indicates the current encryption status: 0 disable; 1 enable1

1.3.8 get input command

FormatATGI_
parameternone
useUsed to query the current camera input parameters (sender)
return valuePer esempio: ATGI_ input_size:1080P,input_rate: 60fps,sensor_type:hdmi,OK
RemarkQuery command

1.3.9 set input command

FormatATSI$(input_size),$(input_rate)_
Per esempio: ATSI1080,25_
parameterInput resolution input_size: 0 let system detect; >0 specify input size
Input frame rate input_rate: 0 let system detect; >0 specify input fps
useUsed to specify input resolution and frame rate to meet some special signal sources or some special application needs (sending end)
return valuePer esempio: ATSI1080,25_ input_size:1080P,input_rate: 25fps,OK
Remark1、 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

FormatATSO$(output_size),$(output_rate)_
Per esempio: ATSO720,30_
    parameterSender: 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)
useSending end: used to specify the encoding output resolution and frame rate to meet the scaling and frame reduction requirements of certain applications. Ricevitore: used to configure the resolution and frame rate of HDMI output
return valuePer esempio: ATSO720,30_ output_size:720P,output_rate: 30fps,OK
Remark1. For HDMI input, this command is invalid when AV input 2、output_size <= input_sizeoutput_rate<=input_rate 3. Set the command and save it after power off.

1.3.11 set user command

FormatATSU$(vin),$(ain)_
Per esempio: ATSU0,1_
parameterVideo 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
useUsed to meet specific application requirements (per esempio: HDMI/SDI input video, MIC input audio)
return valuePer esempio: ATSU0,1_ ATSU0,1 OK
Remark1、 Set the command and save it after power off.

1.3.12 get user command

FormatATGU _
Per esempio: ATGU_
paramet ernone
useUsed to query user-specific configuration
return valuePer esempio: ATGU_ ATGU0,1 OK
Remark1、 Query command 2、 Please refer to ATSU command for return parameter description.

1.3.13 set audio input command

FormatATSAI$(lin),$(ain_vol) _ Per esempio: ATSAI0,50_
parameterAnalog 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
useUsed to set analog audio input parameters
return valuePer esempio: RELEASED0.50_ FREE 0.50 OK
Remark1、 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

FormatATGAI _
Per esempio: ATGAI_
parameternone
useUsed to query analog audio input configuration
return valuePer esempio: ATGAI_ ATGAI0.50 OK
Remark1、 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

FormatATSR$(freq), $(bw), $(rt), $(cvbs)_
Per esempio: ATSR320000,6000,0,0_
parameterDR2C carrier center frequency freq (KHz) 161000~860000 (161MHz~860 MHz, 1KHz step)
DR2C channel bandwidth bw (KHz)               2000~8000(2MHz~8MHz, 1KHz step)
Low latency option rt: 0 normal latency; 1 bassa latenza; (requires the transmitter to also turn on this option at the same time for paired use)
AV output format cvbs: 0 pal; 1 ntsc
useUsed to set receiver parameters
return valuePer esempio: ATSR320000,6000,0,0_ ATSR320000,6000,0,0 OK
Remark1、 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

FormatATGR_
parameternone
useUsed to query the receiving end parameters
return valuePer esempio: ATGR_ ATGR320000,6000,0,aes:0,cvbs:0 OK
Remark1、 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

FormatATGB_
parameternone
useUsed to query the bit error rate and signal strength of the dual antennas at the receiving end
return valuePer esempio: ATGB_ ATGB ber1:0.00% ber2:0.00% RSSI1:54 RSSI2:53 Lock1:1 Lock2:1 OK
Remark1、 Query command 2、 ber1 and ber2 respectively represent the bit error rate of each antenna, ranging from 0.0% a 100.0% 3、 RSSI1 and RSSI2 respectively represent the signal strength of each antenna, ranging from 0 a 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

FormatATSIP$(ip), $(ip) _
Per esempio: ATSIP192.168.1.215,192.168.1.215_
parameterLocal IP address
Local IP address (repeat to confirm)
useUsed to set the receiving IP address
return valuePer esempio: ATSIP192.168.1.215,192.168.1.215_ ATSIP192.168.1.215 OK
RemarkAfter 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

FormatATGIP_
Per esempio: ATGIP_
parameternone
useUsed to query the current IP address of the receiving end
return valuePer esempio: ATGIP_ ATGIP192.168.0.215 OK
RemarkQuery command

1.3.20 set password command

FormatATSP$(password), $(password) _
Per esempio: ATSP123456,123456_
parameterAES key password: 6-digit password (ASCII)
AES key password: 6-digit password (ASCII) (repeat to confirm)
useUsed to set the AES key of the transceiver and receiver
return valuePer esempio: ATSP123456,123456_ ATSP123456 OK
RemarkWhen 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

FormatATST$(baud rate), $( parity) _
Per esempio: ATST115200,0_
parameterbaud rate: 1200、2400、4800、9600、19200、38400、57600、115200
Check parity: 0: None; 1:Odd; 2:Even
useUsed to set the baud rate and check bit of the data transparent transmission serial port
return valuePer esempio: ATST115200,0_ ATST115200,0 OK
RemarkSet command

1.3.22 get data transfer command

FormatTraffic safety_
parameternone
useUsed to query the baud rate and check digit of the data transparent transmission serial port
return valuePer esempio: Traffic safety_ ATGT115200,0 OK
RemarkQuery command

1.3.23 OSD overlay protocol

FormatATOSD$(idx),$(X),$(e),$(str)_
Per esempio: ATOSD0,40,20,height: 100m_
parameteridx 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)
useUsed to overlay user OSD information on the video screen
return valuenone
Remark1. The user specifies the x and y coordinates of the OSD display according to the maximum 1920×1080 pixels, 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

FormatATSF$(freq)_
Per esempio: ATSF750000_
parameterTransmitter carrier center frequency freq (KHz) 200000~2700000 (200MHz~2.7GHz, 1KHz step)
useDynamically modify the center frequency, effective immediately (sender)
return valuePer esempio: ATSF750000_ set freq 750000 OK
Remark1、 Setting command will not be saved after power off

1.4.2 set audio encoder command

FormatFALSE$(audio_bitrate) _ Per esempio: ATSAE64.0_
parameterAudio bitrate audio_bitrate: unit Kbps (float)
useUsed to set the audio encoding bit rate
return valuePer esempio: ATSAE64.0_ ATSAE64.0Kbps OK
Remark1、 Set the command and save it after power off.

1.4.3 get audio encoder command

FormatATGAE_
Per esempio:ATGAE_
parameternone
useUsed to query the audio encoding bit rate
return valuePer esempio: ATGAE_ ATGAE64.0Kbps OK
Remark1、 Query command

1.4.4 set channel command

FormatATSC$(chn), $( disp_num) _
Per esempio: ATSC0,1_
parameterDisplay 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
useUsed to set the receiving end display mode and display channel (Quad-screen display or corresponding channel full-screen display)
return valuePer esempio: ATSC0,1_ ATSC0,1 OK
RemarkSet command

1.4.5 get channel command

FormatATGC_
parameternone
useUsed to query the receiving end display mode and display channel
return valuePer esempio: ATGC_ ATGC0,1 OK
RemarkQuery command

1.4.6 get status command

FormatATGS_
parameternone
useUsed to query the status of the receiver
return valuePer esempio: ATGS_ ATGS RF:800.0MHz BW:4.0MHz MOD:QPSK CR:2/3 GI:1/16 AIR:3.90Mbps AES:OFF SIG1:20 SIG2:0 BER1:0.00% BER2:22.03% Lock1:1 Lock2:1 REC OFF No Storage OK
Remark1. 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, ranging from 0 a 100.
4. BER1 and BER2 respectively represent the bit error rate of each antenna, ranging from 0.0% a 100.0%. 5、 Lock1 and Lock2 respectively represent the signal locking status of each antenna (1 represents signal locking)

1.4.7 dson command

FormatATDSON$(on) _ Per esempio: ATDSON1_
parameterReceiver OSD display switch
useInstead of using OSD buttons, use AT commands to control the receiving end OSD display.
return valuePer esempio: ATDSON1_ ATDSON1 OK
Remark1、 Set the command and save it after power off.
  1. set rec command
FormatATSREC$(rec)_
Per esempio: ATSREC1_
parameterReceiver recording initiation action 0: Close recording; 1: Start recording
useReplaces the REC button to initiate recording action
return valuePer esempio: ATSREC1_ ATSREC1 OK
Remark1、 The setting command will not be saved when the power is turned off.

1.4.8 get rec command

FormatATGREC _
Per esempio: ATGREC_
parameternone
useUsed to query the last recording initiation action and the current recording status. Per esempio, when the storage device is not connected, the current recording status may be inconsistent with the recording initiation action.
return valuePer esempio: ATGREC_ ATGREC1,1 OK
Remark1、 Query command 2、 For the description of return parameters, please refer to the introduction of the purpose.

1.4.9 set ts command

FormatATSTS$(ts) _
Per esempio: ATSTS1_
parameterTransport stream protocol ts: 0 our private protocol; 1 mpegts protocol
useSet transport stream protocol (Compatible with other people’s product needs)
return valuePer esempio: ATSTS1_ ATSTS1 OK
Remark1、 Set the command and save it after power off.

1.4. 10 get ts command

FormatATGTS_
Per esempio: ATGTS_
parameternone
useUsed to query the currently used transport stream protocol
return valuePer esempio: ATGTS_ ATGTS1 OK
Remark1. Query command
2. Please refer to the ATSTS command for return parameter description.

1.4. 11 set key command

FormatATSK$(ckey)_
Per esempio: ATSK12345678abcdefghIJKLMNOP!@#$%^&*_
parameterAes key ckey:32 ascii charactersAll ‘0’ means disabling aes encryption and decryption
useUsed to set the key for aes encryption and decryption
return valuePer esempio: ATSK12345678abcdefghIJKLMNOP!@#$%^&*_ ATSK12345678abcdefghIJKLMNOP!@#$%^&* OK
RemarkAfter setting the key,Requires a reboot to take effectSet the command and save it after power off.

1.4.12 get sn command

FormatATGSN_
Per esempio: ATGSN_
parameternone
useUsed to obtain unique serial number
return valuePer esempio: ATGSN_ SN:e461c4518f221e2c OK
RemarkQuery command

1.4.13 set reset command

FormatATSRST$(reset)_
Per esempio: ATSRST1_
parameterReceiver software reset command 0: No action; 1: Software reset
useSoftware restart system
return valuePer esempio: ATSRST1_ ATSRST1 OK
Remark1、 The setting command will not be saved when the power is turned off.

2. Download PDF commands list

Fai una domanda

← Precedente

Grazie per la risposta. ✨