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.
Related topics
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for