-
May 11th, 2013, 07:10 PM
#1
Thread Starter
Addicted Member
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?
-
May 13th, 2013, 05:48 PM
#2
Fanatic Member
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
-
May 14th, 2013, 04:08 AM
#3
Thread Starter
Addicted Member
Re: How connect to a Bluetooth phone?
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.
Last edited by sergeos; May 14th, 2013 at 06:01 AM.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|