Android mobile as a GSM modem for sending / receiving SMS to PC?

Can I use my Android mobile device as a GSM modem from a PC?

I develop applications for .net to send / send SMS messages and so on. Now I would like to connect my Android devices via USB to a computer and use it as a GSM modem to communicate with it.

Here is the Link that I use to create a .NET application for this purpose.

and I get an 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 transmitting information about the COM port of the COM port."

Is there any driver / application / etc for processing it?

Environment: Windows XP / Windows 7 Mobile for testing: Q Mobile Noir A-10

+6
source share
2 answers

Yes, I think you can do it. Just install the drivers of your mobile phone, and then connect your mobile phone to the PC. (Typically, mobile packages have drivers.) Then open “Phone and Modem” from the Windows Control Panel. Then click on the Modems tab. Now you can see all your modems and their COM number. Use COM cell phones in your .Net application. If you do not see what you call cell phones as a modem in “Phone and Modem”, this means that you cannot use your mobile phone as a GSM modem. (I'm sorry that I don't speak English well)

0
source

If you want to communicate using your phone, there are applications for installing on your phone and connecting to a PC.

But if you want to use the GSM API to send instructions to your phone, Arma's answer is correct, but theoretically you can use a smartphone application that controls a USB phone and emulates / simulates a GSM modem.

0
source

Source: https://habr.com/ru/post/949289/


All Articles