Thomas Hruska wrote:
> 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
>
The above link makes use of Microsoft Bluetooth stack. Which is not a
recommended one.
http://en.wikipedia.org/wiki/Bluetooth_stack
> http://www.experts-exchange.com/Networking/Wireless/Standards/Bluetooth/Q_20720006.html
>
>
Not everyone in the group is a member of expert-exchange.
> 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/
>
Yes BlueZ is one of the best bluetooth stack on Linux. You may use the
following link to start on it.
http://people.csail.mit.edu/albert/bluez-intro/index.html
> 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.
>
>