简体   繁体   English

如何使用vb.net语言进行串行通信

[英]How to do serial communication using vb.net language

I'm making project of automated polling system using SMS. 我正在使用SMS进行自动轮询系统的项目。 How can i read the text message in the cellphone and display it in textbox? 如何阅读手机中的短信并在文本框中显示?

Have a look at the classes in the System.IO.Ports namespace, namely SerialPort . 看一下System.IO.Ports命名空间中的类,即SerialPort There is even an (albeit brief) example available in the Microsoft KB that illustrates how to send AT commands to a connected modem: Microsoft KB中甚至还有一个(尽管很简短)的示例,该示例说明了如何向连接的调制解调器发送AT命令:

http://msdn.microsoft.com/en-us/library/7x7cdt5c.aspx http://msdn.microsoft.com/en-us/library/7x7cdt5c.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM