EC20(一)——AT指令

2024-02-17 23:20
文章标签 指令 ec20

本文主要是介绍EC20(一)——AT指令,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

AT+CSQ :Signal Quality Report, 查询信号强度;

AT+CGMM : Request Model Identification, 查询模式ID;

AT+GMM: 和AT+CGMM 完全相同;


AT+IFC :Set TE-TA Local Data Flow Control, 设置串口数据流

eg: “AT+IFC=0,0\r\n”    , RTS与CTS均不开启。


AT&D:Set DTR Function Mode, 设置DTR

eg: “AT&D0\r\n”    , 忽略DTR状态。


AT+CMEE: Error Message Format, 设置错误信息样式

The command controls the format of error result codes: ERROR, error numbers or verbose messages as
+CME ERROR: <err> and +CMS ERROR: <err>.

eg:

AT+CMEE=2   ,Enable error result code with verbose (string),用长字符串使能返回结果码。


 

AT+QCCID :Show ICCID,查看SIM卡的ID

eg:

 

 

AT+GSN :Request International Mobile Equipment Identity (IMEI),查询IMEI。作用和AT+CGSN完全一样.


ATE :Set Command Echo Mode, 设置是否回应。

The command controls whether or not the module echoes characters received from TE during AT command mode.
 


AT+CPIN :Enter PIN, 键入PIN码

The command is used to enter a password or query whether or not the module requires a password which
is necessary before it can be operated. The password may be (U)SIM PIN, (U)SIM PUK, PH-SIM PIN, etc.
 

 

 

eg:

//Enter PIN
AT+CPIN?
+CPIN: SIM PIN //Queried PIN code is locked
OKAT+CPIN=1234 //Enter PIN
OK+CPIN: READY
AT+CPIN? //PIN has already been entered
+CPIN: READY
OK//Enter PUK and PIN
AT+CPIN?
+CPIN: SIM PUK //Queried PUK code is locked
OKAT+CPIN="26601934","1234" //Enter PUK and new PIN password
OK+CPIN: READY
AT+CPIN?
+CPIN: READY //PUK has already been entered
OK

AT+IPR :Set TE-TA Fixed Local Rate, 设置波特率

The command is used to query and set the baud rate of the UART. The default baud rate value (<rate>) is 115200bps. The setting of <rate> will not be restored with AT&F。

eg:

AT+IPR=115200 //Set fixed baud rate to 115200bps.
OKAT&W //Store current setting, that is, the serial communication speed is
115200bps after restarting module
OKAT+IPR?
+IPR: 115200
OKAT+IPR=115200;&W //Set fixed baud rate to 115200bps and store current setting
OK

AT+CREG :Network Registration Status,网络注册状态。

The Read Command returns the network registration status. The Write Command sets whether or not to
present URC。

 eg:

 

//In Non-CDMA mode
AT+CREG=1
OK+CREG: 1 //URC reports that ME has registered on network
AT+CREG=2 //Activate extended URC mode
OK+CREG: 1,"D509","80D413D",2 //URC reports that operator has found location area code and
cell ID//In CDMA mode
AT+CREG=1
OK+CREG: 1 //URC reports that ME has registered on network
AT+CREG=2 //Activate extended URC mode
OKAT+CREG?
+CREG: 2,1,"3747","A23C2",100 //Query the system ID, network ID and BTS ID of CDMA
network
OK

 


ATS0 :Set Number of Rings before Automatically Answering Call。

The command controls automatic answering mode for the incoming calls。

【注意】:If <n> is set too high, the calling party may hang up before the call is answered automatically。

ATS0=3 //Set three rings before automatically answering a call
OKRING //A call is comingRINGRING //Automatically answering the call after the three rings

AT+QCFG :Extended Configuration Setting。

The command is used to query and configure various settings of UE。

其中:AT+QCFG="risignaltype" :RI Signal Output Carrier。

The command specifies the RI (ring indicator) signal output carrier.

 参考:

Quectel_EC25&EC21_GNSS_AT_Commands_Manual_V1.0

 

 

这篇关于EC20(一)——AT指令的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/719301

相关文章

这15个Vue指令,让你的项目开发爽到爆

1. V-Hotkey 仓库地址: github.com/Dafrok/v-ho… Demo: 戳这里 https://dafrok.github.io/v-hotkey 安装: npm install --save v-hotkey 这个指令可以给组件绑定一个或多个快捷键。你想要通过按下 Escape 键后隐藏某个组件,按住 Control 和回车键再显示它吗?小菜一碟: <template

工作常用指令与快捷键

Git提交代码 git fetch  git add .  git commit -m “desc”  git pull  git push Git查看当前分支 git symbolic-ref --short -q HEAD Git创建新的分支并切换 git checkout -b XXXXXXXXXXXXXX git push origin XXXXXXXXXXXXXX

Android中如何实现adb向应用发送特定指令并接收返回

1 ADB发送命令给应用 1.1 发送自定义广播给系统或应用 adb shell am broadcast 是 Android Debug Bridge (ADB) 中用于向 Android 系统发送广播的命令。通过这个命令,开发者可以发送自定义广播给系统或应用,触发应用中的广播接收器(BroadcastReceiver)。广播机制是 Android 的一种组件通信方式,应用可以监听广播来执行

mysql中导入txt文件数据的操作指令

1 表tt的格式:    CREATE TABLE `tt` (   `ind` int NOT NULL auto_increment,   `name` char(100) default NULL,   PRIMARY KEY  (`ind`)  )   2 文件d.txt的内容示例:  1,a  2,b  3,c

可选择的反思指令微调

论文:https://arxiv.org/pdf/2402.10110代码:GitHub - tianyi-lab/Reflection_Tuning: [ACL'24] Selective Reflection-Tuning: Student-Selected Data Recycling for LLM Instruction-Tuning机构:马里兰大学, Adobe Research领

驱动安装注册表指令

HKCR: HKEY_CLASSES_ROOT HKCU: HKEY_CURRENT_USER HKLM: HKEY_LOCAL_MACHINE HKU: HEKY_USER HER: 相对根键

4G模块、WIFI模块、NBIOT模块通过AT指令连接华为云物联网服务器(MQTT协议)

MQTT协议概述 MQTT(Message Queuing Telemetry Transport)是一种轻量级的消息传输协议,它被设计用来提供一对多的消息分发和应用之间的通讯,尤其适用于远程位置的设备和高延迟或低带宽的网络。MQTT协议基于客户端-服务器架构,客户端可以订阅任意数量的主题,并可以发布消息到这些主题。服务器(通常称为MQTT Broker)则负责接受来自客户端的连接请求,并转发消

matlab一些基本重要的指令

重点内容 运行MATLAB的帮助demo,在Command Window 输入 “demo”,或在Launch Pad 选项卡“demos” 任何时候都可以: 清除Command Window内容:clc 清除Figure Window(图形窗口) clf 清除workspace 变量内容: clear 注意:M脚本文件和输入指令中的变量都在workspace中,为避免变量冲突,一般在

vue的v-slot指令使用总结

父组件代码:  <template><div id="app"><img alt="Vue logo" src="./assets/logo.png"><slotdemo> <template v-slot:a>this is a </template>asdad</slotdemo></div></template><script>import slotdemo from './compon

maven 指令之package 和install的区别

https://blog.csdn.net/zy103118/article/details/79901357   maven 指令之package 和install的区别 2018年04月11日 19:08:46 brave_zhao 阅读数:2018更多 个人分类: maven maven package 和 install 区别 原创 2016年08月18日 14:55:26