通过C#和短信网关的短信应用
我想使用 c# 4.0 开发短信应用程序(基本上是发送\接收)。在此我希望使用诺基亚 6630 手机作为 GSM 调制解调器。我这里有两个问题。 1)有人可以告诉我一个更好的免费短信网关吗? 2)诺基亚6630有gsm mordem吗? 我非常感谢你的回答。
I suppose to develop sms application(basically send\receive) using c# 4.0.In this i wish to use NOKIA 6630 phone as the GSM moderm.i have two problems here.
1)could any one tell me a better free sms gateway for this?
2)is nokia 6630 have gsm mordem?.
i m heavily appreciated with your answers.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
当您使用手机时,不确定这里的免费短信网关是什么意思。
6630有一个调制解调器。所以你可以使用它。如果您的电脑上有 PC 套件(或 Ovi 套件),您应该访问以下链接:
http://www.emant.com/index.php?tid=681002
http://www.forum.nokia.com/info/sw.nokia.com/id/bd896b31-92ba-4624-aa9d-ebf732e7cc0d/ Nokia_PC_Suite_Connectivity_API_1_1.html
如果您不需要PC Suite并想开发独立应用程序,则需要使用AT命令发送短信。为此,您需要使用 SerialPort 类。
Not sure what do you mean by free sms gateway here when you are using your phone.
6630 has a modem. So you can use it. If you can have PC suite (or Ovi suite) in your pc, you should visit these links:
http://www.emant.com/index.php?tid=681002
http://www.forum.nokia.com/info/sw.nokia.com/id/bd896b31-92ba-4624-aa9d-ebf732e7cc0d/Nokia_PC_Suite_Connectivity_API_1_1.html
If you do not want PC Suite and want to develop stand alone application, you need to send sms using AT command. You need to use the SerialPort class for this.
为了将您的手机用作 GSM 调制解调器,请像连接串行端口一样连接它。 (有些驱动程序可以将 USB 适配为串行端口。您的手机驱动程序可能会执行此操作)。
一旦成功连接到它,您就可以发送命令,例如 AT+CNMI(接收)和 AT+CMGS(发送)。
您可能需要通过超级终端进行连接,以便在编程之前先进行尝试。
这里有一个很好的教程。
In order to use your phone as a GSM Modem connect to it as if you are connecting to a Serial Port. (There are drivers which adapt USB to Serial Port. Your phone drivers might do this).
Once you manage to connect to it you can send commands such as AT+CNMI (to receive) and AT+CMGS (to send).
You might want to connect via hyperterminal to try it out first before you program it.
A good tutorial is here.
您有一个不错的选择,例如安装一个短信网关。 NowSMS网关发送或接收消息。这里提供了它的好方法以及安装和配置的所有相关帮助http://www.nowsms。 com/doc/installing-nowsms
但是您在使用此网关接收消息时遇到了一个问题,您需要更换手机,因为 nowsms 网关不支持此功能。
You have one good choice to install one sms Gateway for eg. NowSMS gateway to send or receive messages. Its good one and all the related help for installation and configuration is given here http://www.nowsms.com/doc/installing-nowsms
But one problem you had while using this gateway for receiving messages you need to change your mobile phone as not supported this feature for nowsms gateway.