Bluetooth and BLOB
Bluetooth uses the BLOB structure to pass or receive transport-specific data to the WSAQUERYSET structure during calls to theWSASetService 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.
'춤추는 프로그래머 > Bluetooth, Socket' 카테고리의 다른 글
꽤 빨리 깨닳은 것. (0) | 2010.07.16 |
---|---|
블루투스(Bluetooth) 프로토콜 스택과 프로파일(Profile) (1) (0) | 2010.07.16 |
Socket error 10057 (0) | 2010.07.13 |
블루투스 소켓 프로그래밍 (0) | 2010.07.12 |
Link error 2001, 2019. 외부기호를 참조할 수 없습니다. (0) | 2010.07.06 |