How connect to a Bluetooth phone?
Hello!
System has a device called a "standard modem connection for Bluetooth" (that is my phone paired to pc via bluetooth).
This modem is hanging on port COM4. But when i try to connect to him (MScomm1.CommPort = 4) does not lead to success.
I'm enumerate all the ports, but everywhere there is no connection.
But in HyperTerminal if i select "Standard modem connection on Bluetooth", then everything is fine, comes RING event...
How HyperTerminal determines which port is sitting on a "standard modem connection Bluetooth"?
One person suggested enumerate all devices such as modem using SetapApi and read property AttachTo allegedly HyperTerminal uses the property that is to be connected.
How can i connect to a Bluetooth device directly from vb code?
Re: How connect to a Bluetooth phone?
I assume you are also opening the port. Just setting the port number does not open the port.
MSComm1.Commport = 4
MSComm1.Portopen= true
Re: How connect to a Bluetooth phone?
Quote:
Originally Posted by
IanS
I assume you are also opening the port. Just setting the port number does not open the port.
MSComm1.Commport = 4
MSComm1.Portopen= true
This method is not suitable. It is necessary to connect to the modem through its "friendly name". I think via SerialPortServiceClass_UUID.
SerialPortServiceClass_UUID = "{00001101-0000-1000-8000-00805F9B34FB}"
MsComm clearly inappropriate.