bluetooth XP

I need to know where to find the the actual values for the following GUID for MS Bluetooth Stack using socket programming.

GUID_L2CAP_Event_Info
GUID_HCI_Event_Info
GUID_Radio_In_Range
GUID_Radio_Out_Of_Range

It would be nice to find the header files for the Bluetooth SDK.

[290 byte] By [jemjr] at [2008-3-5]
# 1
For Windows XP the bluetooth headers and documentation are included in the Platform SDK. Once installed you'll find the headers here by default:-
C:\Program Files\Microsoft SDK\include

BluetoothAPIs.h - contains the functions for managing devices etc
bthdef.h - contains defined Guids, structures etc required
ws2bth.h - Winsock extensions for bluetooth

Note that the APIs differ substantially between Windows XP and Windows CE implementations.

Peter

PeterFoot at 2007-9-9 > top of Msdn Tech,Smart Device Development,Smart Devices Native C++ Development...
# 2

Where can I find this Platform SDK ? Well, my question might be strange but I don't have such a directory (PROGRAMFILES_DIRECTORY\Microsoft SDK) and when I try to make a project and include ws2bth.h or the other Bluetooth headers, I can't build since I don't these headers... (For PC only I don't have, for PPC I can, but I'm interested in making a PPC client/PC server).

Thanks in advance for your help.

tanuki at 2007-9-9 > top of Msdn Tech,Smart Device Development,Smart Devices Native C++ Development...
# 3

For VS2005, the Platform SDK can be found under the %Program Files%\Microsoft Visual Studio 8\VC\PlatformSDK directory. Thanks,

Jeff

JeffAbraham at 2007-9-9 > top of Msdn Tech,Smart Device Development,Smart Devices Native C++ Development...
# 4

This folder for my installation of Visual Studio 2005 Professional has :

...
- WinSock.h
- WinSock2.h
...
- WS2atm.h
- WS2dnet.h
- WS2spi.h
- WS2tcpip.h
- WShisotp.h
- wsipv6ok.h
- WSipx.h
- WSnetbs.h
- WSNwLink.h
- WSPiApi.h
- wsrm.h
- WSvns.h
...

There is all what I have in something related to sock or winsock or ws... and searching *.h containing BTH... no ws*.h files :S

Thank you all very much in advance for your help.

tanuki at 2007-9-9 > top of Msdn Tech,Smart Device Development,Smart Devices Native C++ Development...
# 5

The Platform SDK components shipped with VS2005 are only "core" functionality and don't include the relevant Bluetooth headers. You can download the SDK here:-

http://www.microsoft.com/downloads/details.aspx?FamilyID=a55b6b43-e24f-4ea3-a93e-40c0ec4f68e5&displaylang=en

But it can be a pretty huge download. If you are an MSDN subscriber you'll have it on disc.

Peter

PeterFoot at 2007-9-9 > top of Msdn Tech,Smart Device Development,Smart Devices Native C++ Development...
# 6

see tanuki i am not any professional developer but i can help u with that header file

the header file comes in the Platfrom SDK of the Windows u can download the full SDK form http://www.microsoft.com/msdownload/platformsdk/sdkupdate/XPSP2FULLInstall.htm

but if u want only the BluetoothAPIs.h and the related file. Then u can download it from

http://www.freewebs.com/whatisid/developerdownload.htm

i hope i had help u out,

Whatisid at 2007-9-9 > top of Msdn Tech,Smart Device Development,Smart Devices Native C++ Development...
# 7

see tanuki i am not any professional developer but i can help u with that header file

the header file comes in the Platfrom SDK of the Windows u can download the full SDK form http://www.microsoft.com/msdownload/platformsdk/sdkupdate/XPSP2FULLInstall.htm

but if u want only the BluetoothAPIs.h and the related file. Then u can download it from

http://www.freewebs.com/whatisid/developerdownload.htm

i hope i had help u out,

Whatisid at 2007-9-9 > top of Msdn Tech,Smart Device Development,Smart Devices Native C++ Development...
# 8
Thank You!!!
Tiago_mor at 2007-9-9 > top of Msdn Tech,Smart Device Development,Smart Devices Native C++ Development...
# 9
%Program Files%\Microsoft Visual Studio 8\VC\PlatformSDK directory. is the path for VS 2005
ADSRIKANTH at 2007-9-9 > top of Msdn Tech,Smart Device Development,Smart Devices Native C++ Development...