Majd Yafi wrote:
> hi ,
> i want to make a very simple bluetooth program ,
> how to !!!
> thanx for resourses and replys.

Hmm...one of the few things I've never had to find anything about (I 
don't own any bluetooth-enabled devices).  A quick Google search turned 
up (for Windows):

http://www.codeproject.com/useritems/BluetoothAPI__Device_Enum.asp
http://www.experts-exchange.com/Networking/Wireless/Standards/Bluetooth/Q_20720006.html

About 1/3 of the way down on the second article is some source code that 
uses bluetooth over Windows sockets.  Look for this line:

   socket(AF_BTH, SOCK_STREAM, BTHPROTO_RFCOMM);

For Linux, I saw openBT mentioned but apparently BlueZ is the defacto 
standard for Linux:

http://www.bluez.org/

Something else worth looking at is the Python source to LightBlue which 
is apparently cross-platform (but not for Windows):

http://lightblue.sourceforge.net/

Probably possible to make a C/C++ variant from that.

Hopefully this gets you on the right track.

-- 
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197

*NEW* MyTaskFocus 1.1
Get on task.  Stay on task.

http://www.CubicleSoft.com/MyTaskFocus/

Reply via email to