Serial port or USB port?

I am using this code ::

Question about C # serialport

to check which port my USB phone is connected to.

supposedly USB will be a virtual com, but that seems wrong

I used the code above to determine where my phone is, and the output is just trash.

is there any way to get C # to talk to my USB port so that I can talk to the gsm phone connected to it?

+4
source share
1 answer

Virtual COM does not mean that it should respond to "ATI". ATI - hayes modem command not supported by each device.

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

+2
source

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


All Articles