0

I want to create a modem gateway by SMSLib using a USB connection, i know that there is no a direct way to do that as SMSLib supports only the ip and serial connections :

SerialModemGateway gateway = new SerialModemGateway(id, comPort, baudRate, manufacturer, model)

but is there is a possibility to define the comPort when connectiong the device using USB?if yes then how ? and if no then how can i create a virtual com port by reference to the USB port,note that i tried to check the properties of the USB connection through the device manager but didn't find any com port definitions:

enter image description here

tshepang
  • 12,111
  • 21
  • 91
  • 136
Muhammed Refaat
  • 8,914
  • 14
  • 83
  • 118
  • Normally an USB modem will provide an emulated serial port and that port will be shown by Windows as COMx, it's highly unusual that you can't find that port. What modem are you using? – fvu Jun 18 '13 at 12:31
  • HP 655 laptop, i think ZTE modem. – Muhammed Refaat Jun 18 '13 at 12:44

1 Answers1

0

Go to Device Manager > Ports. You will find the new COM(?) port there.

Neel Borooah
  • 91
  • 1
  • 1
  • 11