Click to Rate and Give Feedback
MSDN
MSDN Library
Networking
Wireless Networking
Bluetooth
Using Bluetooth
 Bluetooth and BLOB

  Switch on low bandwidth view
Bluetooth and BLOB

Bluetooth uses the BLOB structure to pass or receive transport-specific data to the WSAQUERYSET structure during calls to the WSASetService or WSALookupService* functions.

For use with Bluetooth and the WSASetService function, the BLOB structure members are required to have the following settings:

  • The cbsize member must be set to the size of the BTH_SET_SERVICE structure used in the pBlobData member, in bytes.
  • The pBlobData member must be a pointer to a BTH_SET_SERVICE structure.

For use with Bluetooth and WSALookupServiceBegin for Device Inquiry, use the following settings:

  • The cbsize member must be set to the size of the BTH_QUERY_DEVICE structure used in the pBlobData member, in bytes.
  • The pBlobData member must be a pointer to a BTH_QUERY_DEVICE structure.

For use with Bluetooth and WSALookupServiceBegin for Service Discovery, use the following settings:

  • The cbsize member must be set to the size of the BTH_QUERY_SERVICE structure used in the pBlobData member, in bytes.
  • The pBlobData member must be a pointer to a BTH_QUERY_SERVICE structure.

For more information, see the Remarks section in the BTH_SET_SERVICE structure reference page.

See Also

Bluetooth and WSALookupServiceBegin for Device Inquiry
Bluetooth and WSALookupServiceBegin for Service Discovery
Bluetooth and WSASetService
Windows Sockets
BLOB
BTH_QUERY_DEVICE
BTH_QUERY_SERVICE
BTH_SET_SERVICE
WSALookupServiceBegin
WSAQUERYSET
WSASetService

Send comments about this topic to Microsoft

Build date: 6/11/2009

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker