简体   繁体   English

Android 手机作为 GSM 调制解调器在 PC 上发送/接收短信?

[英]Android mobile as GSM Modem to send/receive SMS on PC?

Is it possible to use an Android mobile device as a GSM modem with PC?是否可以将 Android 移动设备用作 PC 的 GSM 调制解调器?

I am developing apps under .net to make send/reieve SMSs and so on.我正在 .net 下开发应用程序来发送/接收短信等等。 Now I'd like to connect my android devices via USB to my PC and use it as a GSM modem to communicate with it.现在我想通过 USB 将我的 android 设备连接到我的 PC 并将其用作 GSM 调制解调器与它进行通信。

Here is the Reference site which I am following to create .NET application for this purpose.这是我正在关注的参考站点,用于为此目的创建 .NET 应用程序。

and I am getting the error here我在这里收到错误

 try
 {
 Phone_Name.Text = comm.IdentifyDevice().Manufacturer.ToUpper().ToString();
 Phone_Model.Text = comm.IdentifyDevice().Model.ToUpper().ToString();
 Revision_Num.Text = comm.IdentifyDevice().Revision.ToUpper().ToString();
 Serial_Num.Text = comm.IdentifyDevice().SerialNumber.ToUpper().ToString();
 }
catch (Exception e50)
{
MessageBox.Show("Error Retriving COM Port Phone Information", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
 }

It says "Error Retriving COM port Phone Information".它说“错误检索 COM 端口电话信息”。

Is there any kind of driver/app/etc to handle it?是否有任何类型的驱动程序/应用程序/等来处理它?

Environment: Windows XP/Windows 7 Mobile to test: Q Mobile Noir A-10环境:Windows XP/Windows 7 Mobile 测试:Q Mobile Noir A-10

Yes, I think you can do it.是的,我认为你可以做到。 Just install your cellphone drivers and then connect your mobile to PC.只需安装您的手机驱动程序,然后将您的手机连接到 PC。 (Usually there are drivers in the mobile packages disks.) Then open "Phone and Modem" from your windows control panel. (通常移动包磁盘中有驱动程序。)然后从 Windows 控制面板打开“电话和调制解调器”。 Then click on "Modems" tab.然后单击“调制解调器”选项卡。 Now you can see all of your modems and their COM number.现在您可以看到所有调制解调器及其 COM 编号。 Use you cellphones COM in your .Net application.在您的 .Net 应用程序中使用您的手机 COM。 If you can not see you cellphones name as a modem in "Phone and Modem", it mean that you can not use you cellphone as a GSM modem.如果您在“电话和调制解调器”中看不到您的手机名称为调制解调器,则表示您不能将您的手机用作 GSM 调制解调器。 (I'm sorry for my bad English speaking) (我很抱歉我的英语不好)

If you are wishing to communicate using your phone, there are apps to install on your phone and connect it to your PC.如果您希望使用手机进行通信,可以在手机上安装应用程序并将其连接到 PC。

But if you are wishing to use GSM API to send instructions to your phone Arma's answer is correct but theoretically you can have a smart phone application to that takes the phone USB under control and emulates/imitates a GSM modem.但是,如果您希望使用 GSM API 向您的手机发送指令,Arma 的回答是正确的,但理论上您可以使用智能手机应用程序来控制手机 USB 并模拟/模拟 GSM 调制解调器。

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

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