如何自动知道调制解调器所连接的COM端口. [英] how can know the com port automatical which the modem is connected..

查看:108
本文介绍了如何自动知道调制解调器所连接的COM端口.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个sms服务器,如何在不告诉用户去窗口设备管理器检查com端口的情况下自动知道调制解调器所连接的com端口,然后手动放置com端口.

I am developing an sms server how can know the com port automatical which the modem is connected without telling the user to go to window device manager to check the com port then put the com port manully

推荐答案

我担心您将不得不穿过com端口,并对其进行轮询以查看它是哪一个.调制解调器不是即插即用的,因此不与它们交谈就无法知道.
I fear you''ll have to walk the com ports, and poll them to see which one it is. Modems are not plug ''n play, so there''s no way of knowing without talking to them.


这篇关于如何自动知道调制解调器所连接的COM端口.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆