如何使用诺基亚手机从 C# 应用程序发送/接收 SMS 消息
好的,所以我需要做的是编写 C# 代码,以集成到现有的应用程序中。
我(很可能)将使用诺基亚 7230 手机,并且我愿意使用诺基亚 PC 连接 SDK/API,或者仅使用 C# 的 AT 命令,只要可行即可。
但这里的问题是我完全不知道从哪里开始。如果有人能给我一个关于如何设置一切的分步指南/教程,我将永远感激不已。我已经下载了最新版本的 PC 连接 SDK、PC 连接 API、PC 套件和诺基亚连接框架。
如果我可以在实际购买手机之前使用模拟器测试代码,那就太棒了。
预先感谢您的任何帮助/建议。
Okay, so what I need to do is to write C# code, to integrate into an existing application.
I will (most likely) be using a Nokia 7230 mobile phone, and I'm willing to use the Nokia PC Connectivity SDK/API, or just AT commands over from C#, whatever works.
The catch here, though, is that I have absolutely no idea where to even start. I would be eternally grateful if someone could give me a step-by-step guide/tutorial on how to go about setting everything up. I've downloaded the newest versions of the PC Connectivity SDK, the PC Connectivity API, the PC Suite, and the Nokia Connectivity Framework.
If it's at all possible for me to test code with an emulator before actually purchasing a phone, that would be fantastic.
Thank you in advance for any help/advice.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
GSMComm 是一个有用的 C# 库,它附带了一堆也可以使用示例/工具。
我的印象是,您打算专门购买诺基亚手机来处理短信业务?如果是这样,您可以只购买 GSM 调制解调器(取决于您所在的位置),它们更便宜,不包含无关的功能,并且不依赖于使用制造商特定的软件。
GSMComm is a useful C# library for this, it comes with a bunch of samples/tools to mess around with as well.
I get the impression you going to buy a Nokia handset specifically to handle your SMS stuff? If so, you could just buy a GSM Modem (depending on your location) they are cheaper, don't include extraneous features and are not dependent on using manufacturer specific software.
您正在寻找的称为“短信网关”。互联网上的大多数文章讨论如何使用 Linux 创建一个。
不过,我确实找到了这篇文章,它教您如何使用 C# 进行操作: http://www.ozekisms.com/high-performance-sms-gateway/product-manual/index.php?owpn=315
What you are looking for is called an "SMS Gateway". Most of the articles on the internet discuss how to create one using Linux.
I did find this article though, which teaches you how to do it using C#: http://www.ozekisms.com/high-performance-sms-gateway/product-manual/index.php?owpn=315
看来您需要诺基亚 PC 连接 API(注意:需要注册诺基亚论坛才能下载):
It looks like you need the Nokia PC Connectivity API (note: Forum Nokia registration required for download):