如何使用AT指令检测电话线忙 [英] How to use AT command to detect phone line is busy
本文介绍了如何使用AT指令检测电话线忙的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个 USB 调制解调器.是否可以检测电话线是否占线?
I have a USB modem. Is it possible to detect the phone line is busy or not?
我想我可以使用 AT 命令来检测拨号音,但我不确定是否有任何命令支持.
I thought I could use AT Command to detect dial tone, but I'm not sure are there any commands support that.
谢谢.
推荐答案
我相信您必须像人类一样执行此操作...摘机并等待拨号音.
I believe you have to do this the same as a human would... take it off hook and wait for dial tone.
摘自 http://michaelgelis.tripod.com/modem.html
D 单独将调制解调器摘机并等待拨号音.(看X 命令用于异常).等待拨号音的时间长度拨号前可在寄存器 S6 中编程.
D alone will take the modem off-hook and wait for a dial tone. (see X command for exceptions). The length of time to wait for a dial tone before dialing is programmable in register S6.
这篇关于如何使用AT指令检测电话线忙的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文