简体   繁体   English

开源短信网关 - .Net(C# 或 VB.Net)

[英]OpenSource SMS Gateway - .Net (C# or VB.Net)

Is any opensource SMS (Short Message Service) gateway written in C# or VB.Net.是用 C# 或 VB.Net 编写的任何开源 SMS(短消息服务)网关。

Gateway must support AT command mode.网关必须支持 AT 命令模式。

I don't need SMS service, I need library to communicate with mobile phone or GSM modem (AT command mode)我不需要短信服务,我需要库与手机或GSM调制解调器通信(AT命令模式)

That's an interesting question... The AT command set is for controlling a communications device (modem, phone, etc) attached to your computer.这是一个有趣的问题... AT 命令集用于控制连接到计算机的通信设备(调制解调器、电话等)。 A 'Gateway' is usually a service available through the internet that provides equivalent functionality so that you don't need to have an actual device attached to your computer. “网关”通常是一种可通过 Internet 获得的服务,它提供等效的功能,因此您无需将实际设备连接到您的计算机。

If you want to use the AT command set to control a phone, there's a few things to note:如果你想使用 AT 命令集来控制手机,有几点需要注意:

  1. Many phones, especially the newer ones, don't support an AT command set.许多手机,尤其是较新的手机,不支持 AT 命令集。 I know that the old Nokia 5120 does.我知道旧的诺基亚 5120 可以。

  2. Sometimes you have to install the phone's 'PC Suite' software before you can access the phone's AT command set有时您必须先安装手机的“PC Suite”软件才能访问手机的 AT 命令集

  3. For some newer phones you can only access the AT command set if you connect to the phone via Bluetooth.对于一些较新的手机,只有通过蓝牙连接到手机才能访问 AT 命令集。

If you have a phone that suppors it:如果您有支持它的手机:

  1. Plug it in (or establish a Serial Bluetooth connection to the phone)插入(或与手机建立串行蓝牙连接)

  2. Use Hyperterminal to connect to the phone.使用超级终端连接手机。

  3. Start typing and see if the phone responds.开始打字,看看手机是否有反应。

You may have to install the PC Suite software.您可能需要安装 PC 套件软件。 On the other hand, installing the PC Suite software may interfere with getting to the phone's AT command set...另一方面,安装 PC 套件软件可能会干扰获取手机的 AT 命令集...

The best wat is to give it a go!最好的wat是试一试!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM