Click to See Complete Forum and Search --> : connecting to device
Techno
Jul 24th, 2005, 11:19 AM
In C# I have made an application which listens to a port. It does work. However I am wondering, if a bluetooth device wishes to connect to the computer (computer has a bluetooth dongle)... will C#/.NET accept that connection FROM a bluetooth device?
What about writing a C# application to connect TO a computer via bluetooth?
When i try to connect to the computer from a bluetooth device - will it connect via bluetooth or do I have to specifically program it to tell it to connect to the destination via bluetooth?
if this is the case, how do I go about creating the app to connect (and recieve data) via bluetooth?
jud9r
Jul 27th, 2005, 03:49 AM
Hi.
I have done a little bit with device programming, but mostly on cabled versions. I did manage to write an app that scanned for available BT devices by using a BT wrapper from OpenNetCF.
As far as I know, you have to program specifics when connecting to BT, so a good starting place would be...http://www.opennetcf.org/SearchView.aspx?q=bluetooth
Let me know how you get on, and post your code if you have any success! I had to move on from my testing :(
Techno
Jul 27th, 2005, 08:20 AM
I prefer not to use that however I found a way yesterday and i am over the moon!
for people who have a mobile device, they should set up their bluetooth on their computer using the bluetooth software
then connect and pair the devices (dongle and mobile device)
one done, set up activesync on the computer and on the mobile device.
make sure that in the advance options in activesync on the mobile device that you select it to use bluetooth and not usb (which is by default)
in the connection settings on the computer in activesync, make sure you tell it to allow incoming connections on com6
then you select "connect via bt" in activesync on the mobile device and it should hopefully pick it up and allow communication via bluetooth from and to your mobile device and computer
I was very impressed! it also means that you can deploy apps to your mobile device and it will use bluetooth for communication as it redirects it to that when deploying! :D
you can then send and recieve data just as if you were connecting via usb
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.