自动接收短信 [英] recive sms automatically

查看:110
本文介绍了自动接收短信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个gsm调制解调器,它通过COM端口与我的PC连接。

现在我想通过这个调制解调器自动发送和接收短信。

我可以从sim中逐个读取消息。

但是问题是我想要一种方法......当sim转发一条短信时,一些allication将会运行。

这就是每当sim回复了一些消息...一些应用程序将处理短信。

但是我尝试了protdatarecived方法,它的faild。那么有什么过程会在收到一些数据时警告我的应用程序。

I have a gsm modem, which is connected with my PC by COM port.
Now I want to send and receive sms by this modem automatically.
I can read msg one by one from sim.
But the problem is I want a method where...some allication wil run wheneever the sim recive a sms.
That is whenever the sim recive some msg...some apllication will process the sms.
But i try protdatarecived method,its faild. So is there any process which warn my application when some data is recived.

推荐答案

你好,

用计时器检查,在你的fomr你可以使用计时器并检查是否有任何数据接收。

Check with timer ,In your fomr you can use the timer and check for any data receive.


这篇关于自动接收短信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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