GSM MODEM问题 [英] problem with GSM MODEM

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

问题描述


我具有使用hsdpa gsm发送短信的功能,以及用于读取接收到的短信的功能.
我的程序运行并且运行良好,但是在发送6或7个短信后,我的程序无法连接到gsm调制解调器.
错误是端口已在使用中"
但是在我停止运行并再次运行它之后,它又再次运行了好几次.
每次运行这些功能(发送短信或接收短信)时,它们都会在功能的第一个打开串口,然后在完成发送或读取短信时关闭串口.
我该如何解决这个问题?

Hi,
I have a function to send sms with hsdpa gsm, and a function for read recieve sms.
my program run and it works good, but after it sends 6 or 7 sms, my program can''t connect to gsm modem.
The error is " port is already in use "
but after I stop it and run it again , it works good again for a few times.
each time these functions (send sms or recieve sms ) run, they open serial port at the first of function and then close the serial port when they finish sending or reading recives sms.
How can I solve this problem ?

推荐答案

这意味着还有另一个程序在对您的设备进行管理.如果要专门使用SMS,请不要关闭端口或连续使用它.此类设备只能打开一个端口.
It means that there is another program accsessing your device. If you want to use exclusevely for SMS then do not close port and contiune to use it. Such devices can have only a single port open.


请访问 http://www.smslib .org 了解详情

希望您能获得所有要求和源代码
Please got to http://www.smslib.org for details

Hope you get all your requirement and source code


您可以发送源代码来查看吗?
mehrdad.motaghed@gmail.com
can you send your source code to see?
mehrdad.motaghed@gmail.com


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

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