bluetooth

Hi.
I was wondering, is there a way to access bluetooth connection on a mobile device?

I have made an application which consists of 2 sub apps:

1) server - this recieves (and will send) data on a port from a device that connects to it and performs actions depends on what the connected device sends.
2) client - this recieves (and will send) data to the server connected

my server has a usb bluetooth dongle. my smartphone (SPV C500) has bluetooth enabled.

I am wondering, when my client app tries to connect to the server... will it try to connect via bluetooth or by default usb?

I want my application to use bluetooth. How is this possible? Is it possible? what do I have to do?

please help, I appreciate your help!

[740 byte] By [ahmedilyas] at [2007-12-16]
# 1
Hi,

See if this helps:
http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=60494

Regards,
Vikram

Vikram at 2007-9-9 > top of Msdn Tech,Visual C#,Visual C# General...
# 2
ty Vikram - Much appreciated :)

Would that work on C500 smartphone?

If it should work on C500, then if according to the documentation I open the bluetooth connection, in order for communication of the TCPListner/TCPClient/Socket in my project to occur/work - would I simply:

1) open the bluetooth connection
2) start the thread to open the tcp connection
3) do whatever I like
4) close connection and bluetooth connection

?

Would the TCP/sockets automatically find the bluetooth connection to send/recieve data from when I open the bluetooth connection?

ahmedilyas at 2007-9-9 > top of Msdn Tech,Visual C#,Visual C# General...