AT Command

什么是 AT Command
控制调制解调器的命令。由美国Hayes公司开发,利用字符序列形式的命令对调制解调器进行控制。因字符串的开头冠以“AT”而得名。目前,调制解调器和ISDN等异步通信用的设备几乎都采用AT命令来控制,使用十分普及,几乎可认为就是业界标准。不过,由于各公司常有自己扩充的特殊命令,因此,除了基本命令之外的内容因厂家和机种不同而异.

The device will be referred to using various terms, to include: MS(Mobile Station), TA (Terminal Adapter), DCE (Data Communication Equipment), orME (Mobile Equipment).The device can be controlled via the use of aDTE (Data Terminal Equipment) platform by issuing the AT commands via a serialinterface
它可以将被指利用到各种条件,包括:MS(移动电台),助教(终端适配器),DCE(数据通信设备),或者我(移动设备)。
它可以控制通过使用一个终端设备(数据终端设备)平台通过发出AT命令通过一个串行接口。

 2.5 Command Syntax
The attention or “AT” prefix is required prior to entering any command. All commands require a carriage return or <CR> following the entry of the desired command. All command responses are encapsulated by a carriage return and line feed or <CR><LF>. The ASCII display of these characters is suppressed with only the modem response being presented.
In addition to terminating AT commands, the carriage return <CR> is also used to abort commands that are executing.
Most AT commands complete immediately so there is no opportunity to abort them, for instance ATI. However, Some commands like AT+COPS or AT+CFUN can actually take several seconds to complete. The AT command interface is said to be in execution mode when a command is running and has not returned a result code (OK/ERROR). A second <CR> entered while the AT command interface is in execution mode will abort the command and return the interface to command mode.
Some AT commands require additional input. After terminating these commands with a <CR> the AT command interface enters line edit mode. While in line edit mode all characters are accepted except CNTL-Z. CNTL-Z terminates line edit mode and the AT command interface enters execution mode. Like before, at this point another <CR> will abort the command.
AT message concatenation can be done using the ; <semicolon> between commands.
The following examples demonstrate the potential usage of
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值