How to use AT command to detect phone line is busy

元气小坏坏 提交于 2020-01-24 10:56:06

问题


I have a USB modem. Is it possible to detect the phone line is busy or not?

I thought I could use AT Command to detect dial tone, but I'm not sure are there any commands support that.

Thanks.


回答1:


I believe you have to do this the same as a human would... take it off hook and wait for dial tone.

Ripped from http://michaelgellis.tripod.com/modem.html

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.




回答2:


If you try call, and it's busy, modem send you message BUSY or NO ANSWER



来源:https://stackoverflow.com/questions/9889505/how-to-use-at-command-to-detect-phone-line-is-busy

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!