串行端口 [英] serial port

查看:64
本文介绍了串行端口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我该如何利用知道传入数据并触发某些内容的串行端口.例如,如果有短信,它将触发某些内容,而不是我继续进行轮询.它与mscomm的逻辑相同,但是如何在串行端口中实现呢?

我正在使用Visual Basic 05,

how do i make use of serial port that know of incoming data and trigger something. for example if there is a sms, it will trigger something rather than i keep doing polling. its the same logic as mscomm but how do i do it in serial port?

i am doing on visual basic 05,

推荐答案

,您可能可以适应 ^ ]
(请参阅页面底部的源代码)

-更新-
相关的MSDN参考 [
You may be able to adapt the APIs used in this[^]
(see source at bottom of page)

-- update --
Related MSDN reference[^]


这篇关于串行端口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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