4

i am using this code::

c# serialport question

to check what port my USB phone is connected to.

supposedly USB would be a virtual com, but this seems to be incorrect

i used the above code to detect where my phone is and the output is just garbage.

is there a way for me to get c# to speak to my usb port so that i can speak to the gsm phone connected to it?

Community
  • 1
  • 1
Alex Gordon
  • 57,446
  • 287
  • 670
  • 1,062

1 Answers1

2

Virtual COM doesn't mean it's supposed to answer to "ATI". ATI is hayes modem command, not supported by every device.

Use code in How to open a serial port by friendly name?

Community
  • 1
  • 1
Pavel Radzivilovsky
  • 18,794
  • 5
  • 57
  • 67