Home > Back-end >  Bluetooth PC test development
Bluetooth PC test development

Time:10-08

I recently in the development of a PC and bluetooth devices around the test procedure of communication, met a problem here, don't know which master can help to reassure:
When doing the socket connect, in sa has a little problem, assignment btAddr is:
SOCKADDR_BTH sa;
Sa. BtAddr=b; This value is directly used WSALookupServiceNext bluetooth BTH_ADDR around, or want to convert?
Sa. ServiceClassId=ServerGuid;//this value is how come of, some, and defined, some say the server side, some, fixed,
The connect (m_socketClient, (SOCKADDR *) & amp; Sa, sizeof (sa))==SOCKET_ERROR;
Don't know which can help to reassure oh,
  • Related