Hello folks,
i finally made some progress and managed to publish a custom bluetooth service record (SDP record) containing the RFCOMM channel needed for connecting to the server. The next problem i'm facing is that a client needs to query the SDP database on the server by using WSALookupServiceBegin() and WSALookupServiceNext(). Well, using both functions for querying bluetooth devices in range is no big deal. But how can i use them to query for my custom service? Again MSDN raises more questions than giving answers on how to do that. They mention a BTHNS_RESTRICTIONBLOB structure which should be used for this but all my experiments on getting any information of any service fail although the functions succeed. Somehow i need to find my service by searching for its GUID and then retrieve all data belonging to the service. But how? Anybody any ideas?
Kind regards,
Chris