COFDM 模块参数配置 UART AT 命令

版 2.2

版本更新记录

更新日期描述
1.02016-10-24初始版本
1.12016-11-1ATDR回复区分
1.22016-12-26模块
1.32017-2-14ATSE 和 ATGE 添加音频
1.42017-2-28开关
1.52017-3-27添加 ATSP 协议
1.62017-4-19添加 ATST 和 ATGT 协议
1.72017-5-18ATGE指令添加了AES状态
1.82017-9-12获得
1.92018-3-15添加ATGB协议
2.02019-6-25接收端增加AV、HDMI输出控制.
支持获取当前AV输出格式
添加了 ATSU 和 ATGU 指令
添加了ATOSD, 空中交通安全计划, ATGIP指令
2.12020-3-23修改ATSE和ATSR指令
添加了 ATSTS 和 ATGTS 指令
2.22023-11-22添加了 ATSAI 和 ATGAI 命令
添加了 ATSAE 和 ATGAE 指令
添加 ATSF 命令

使用我们的COFDM收发器模块时, 用户可能需要修改模块的配置参数. 为了简化用户的操作, 我们把参数配置设计成几个简单的AT指令. 用户只需要使用指定的AT命令并传递相应的参数即可完成COFDM模块的参数设置.

1.1 Command introduction

配置COFDM模块参数的AT命令以 并以下划线结尾 _. 每个 AT 命令有几个或没有参数, 每个AT命令都有一个返回值.

用户可以配置COFDM模块的串口 (TTL电平, 3.3V) 和模块参数. 使用 串口调试助手 (文本模式) 发送AT指令, 默认串口配置:

  • 串行端口: 通讯25
  • 波特率: 9600
  • 平价: 没有任何
  • 停止位: 1 位
  • 发送方式: 文本模式
  • 命令示例: ATGD_
COFDM Module Parameter Configuration UART AT commands
COFDM 模块参数配置 UART AT 命令

1.2 Command classification

1.2.1 By function

类型在命令
查询命令ATDR, ATGD, ATGE, ATGI, ATGR, 交通安全, ATGB, ATGU, ATGIP, ATGTS, ATGAI, ATGAE
Setup instructionsATSD, ATSF, ATSG, ATSM, ATSE, ATSI, 老太婆, 阿特斯, ATSP, ATST, 男性, ATOSD, 空中交通安全计划, ATSTS, ATSAI, ATSAE

1.2.2 By power-off save

类型在命令
Power-off save commandATSD, ATSE, ATSI, 老太婆, 阿特斯, ATSP, ATST, 男性, 空中交通安全计划, ATSTS, ATSAI, ATSAE
Commands are not saved when power is offATSF, ATSG, ATSM, ATOSD

1.2.3 By configuration objects

类型在命令
Sender configuration commandATDR、ATSD、ATGD、ATSF、ATSG、ATSM、ATSE、ATGE、ATSI、ATGI、老太婆、ATSP、ATST、交通安全、男性、ATGU、ATOSD、ATSTSATSAIATGAIATSAEATGAE
Receiver configuration commandATDR、阿特斯、ATGR、ATSP、ATST、交通安全、ATGB、空中交通安全计划、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),$(吉),$(COFDM无线传输系统传输速率计算),$(星座),$(频率(千赫)),$(体重(千赫)),$(tx1_gain), $(tx2_gain)_ 例如: ATSD0,1,0,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,模组:QPSK,频率:800000千赫,体重:8000千赫,tx1_gain:86.000000 tx2_gain:86.000000 好
备注设置命令并断电保存.
Data rate calculation formulas corresponding to different bandwidths, 保护间隔, convolutional code rates, and constellations.
空口速率Rate(COFDM无线传输系统传输速率计算) COFDM无线传输系统传输速率计算 (带宽(兆赫) * 8.0/7.0) / (1+GI) * 1512/2048 * COFDM无线传输系统传输速率计算(COFDM无线传输系统传输速率计算) * COFDM无线传输系统传输速率计算 * 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)_
例如: ATSG85.0,85.0_
范围tx1_gain: 发射机 1 获得
tx2_gain: 发射机 2 获得
使用用于动态调整输出功率. 例如, 当接收端信号的SNR/RSSI较高时, 可以通过远程控制链路降低输出功率. 当接收端信号SNR/RSSI较低时, 输出功率可以增加 (发射机).
返回值例如: ATSG85.0,85.0_设定增益 85.000000 85.000000 好
备注设置命令断电时不保存.

1.3.4 set modulation mode command

格式美元(吉), $(COFDM无线传输系统传输速率计算), $(星座)_
例如: 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;
使用动态调整空口速率. 近距离时可以将空口速率调高, 并降低远距离空口速率 (发送端).
返回值例如: ATSM1,1,2_ GI:1/16,CR:2/3,模组:QAM64,好的
备注设置命令断电时不保存.

1.3.5 get device status command

格式ATGD_
范围没有
使用用于查询当前发射天线数量, 保护间隔, 卷积码率, 星座数, 发射频率, 带宽, 和增益参数 (发射机)
返回值例如: ATGD_SISO,GI:1/16,CR:1/2,模组:QPSK,频率:800000千赫,体重:8000千赫,tx1_gain:86.000000 tx2_gain:86.000000 好
备注查询命令

1.3.6 set encoder command

格式ATSE$(模式),$(室温),$(比特率),$(流行音乐),$(音频)_
例如: ATSE0,0,0.0,0,0_
    范围模式选项模式: 0 h264; 1 p265
低延迟选项 rt: 0 正常延迟; 1 低延迟; (要求接收端也同时打开该选项才能配对使用)
比特率: 0 让系统决定; >0 指定比特率(漂浮)
I 帧间隔 gop: 0 让系统决定; >0 指定gop
音频编码选项 音频: 0 禁用; 1 使能够
使用用于设置编码参数 (sender)
返回值例如: ATSE0,0,0.0,0,0_ MODE:0,转播: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,转播: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,输入速率: 60FPS,传感器类型:HDMI,好
备注查询命令

1.3.9 set input command

格式ATSI$(输入大小),$(输入速率)_
例如: ATSI1080,25_
范围输入分辨率 input_size: 0 let system detect; >0 指定输入大小
输入帧率 input_rate: 0 let system detect; >0 指定输入帧率
使用Used to specify input resolution and frame rate to meet some special signal sources or some special application needs (发送端)
返回值例如: ATSI1080,25_ input_size:1080p,输入速率: 25FPS,好
备注1、 用户通过此命令指定输入分辨率和帧率后, 系统将不再检测信号源 (Use with caution) 2、 Users can restore the default through the following command: ATSI0,0_ 3. 设置命令并断电保存.

1.3.10 set output command

格式老太婆(输出大小),$(输出率)_
例如: 旧 720.30_
    范围发件人: 编码输出分辨率 output_size: 0 等于 input_size; >0 specify output size Receiving end: HDMI输出分辨率 (720, 1080)
发件人: 编码输出帧率 output_rate: 0 等于 input_rate; >0 指定输出速率( 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,输出率: 30FPS,好
备注1. For HDMI input, this command is invalid when AV input 2、输出大小 <= 输入大小;输出率<=输入速率 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 输入视频, MIC输入音频)
返回值例如: 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$(频率), $(体重), $(室温), $(简历)_
例如: ATSR320000,6000,0,0_
范围DR2C carrier center frequency freq (千赫) 161000~860000 (161兆赫〜860MHz的, 1千赫步)
DR2C信道带宽bw (千赫)               2000~8000(2兆赫~8兆赫, 1千赫步)
低延迟选项 rt: 0 正常延迟; 1 低延迟; (requires the transmitter to also turn on this option at the same time for paired use)
AV output format cvbs: 0 朋友; 1 国家标准制式
使用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,简历: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 国家标准制式

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 锁1:1 锁2: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$(知识产权), $(知识产权) _
例如: ATSIP192.168.1.215,192.168.1.215_
范围本地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 叠加协议

格式ATOS$(身份证),$(X),$(),$(海峡)_
例如: ATOSD0,40,20,高度: 100米_
范围索引号: 0~7 (支持OSD叠加 8 领域) x 坐标: 0~1919 y 坐标:0~1079 力量: 在对应坐标处显示的字符串 (空格符号用于清除显示)
使用用于在视频屏幕上叠加用户 OSD 信息
返回值没有
备注1. 用户根据最大1920指定OSD显示的x和y坐标×1080 像素, 系统会根据实际显示情况修正坐标. 2、The str parameter cannot contain the ‘_’ 特点

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 (200兆赫~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 锁2: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、 设置命令断电时不保存.

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 设置重置命令

格式ATSRST$(重置)_
例如: ATSRST1_
范围Receiver software reset command 0: No action; 1: Software reset
使用Software restart system
返回值例如: ATSRST1_ ATSRST1 OK
备注1、 设置命令断电时不保存.

2. 下载 PDF 命令列表

问一个问题

← 返回

感谢您的回复。 ✨