Comm32 Logo
Home Button   

Topic:   different com port

By: Sanjay JoshiPosted on: Feb 2 2016 at 09:02:08 AM
Thx in advance.
when i connect my nokia phone to my pc,thourgh vb6 and scomm32 i find com port number but if i see in control panel/phone and modem setting there is other port number assign by windows.so i can't send message.so how i can get every time right port number by scomm32

By: Guest Posted on: Feb 2 2016 at 10:14:02 PM
Using Bluetooth? Windows might allocate two com ports. One for outgoing connections and other for incoming.

The pc might also have other serial port devices.

It's pretty much up to you to know which com port you want to use.

I did a project using bluetooth modem and the computer had a few serial ports and i had to figure out which one to use. so i opened each one in turn sending AT command and looking for OK response from the modem.

By: Sanjay JoshiPosted on: Feb 3 2016 at 09:21:06 AM
thanks for help
now i got the point.
but how i can find wichone is outgoing port.
in control panel/phone and modem options/modems shows that my nokia phone is atteched to com3,but with scomm32 i got port number is com34.

By: GuestPosted on: Feb 3 2016 at 10:46:42 AM
Try what I said. If you send AT (followed by CR) to the modem you should get OK response from that port. Then just ignore the other port(s)