Bluetooth Application Development Functions (Windows CE 5.0)
The following table shows the Bluetooth functions with a description of the purpose of each. These functions are actually Winsock functions. However, the information that is presented in them is specific to Bluetooth.
Programming element | PPC | SP | Description |
---|---|---|---|
accept (Bluetooth) | X | X | This function permits an incoming connection attempt on a socket. |
bind (Bluetooth) | X | X | This function associates a local address with a socket. |
connect (Bluetooth) | X | X | This function establishes a connection to a specified socket. |
getpeername (Bluetooth) | X | X | This function retrieves the name of the peer to which a socket is connected. |
getsockname (Bluetooth) | X | X | This function retrieves the local name for a socket. |
getsockopt (Bluetooth) | X | X | This function retrieves a socket option. |
setsockopt (Bluetooth) | X | X | This function sets a socket option. |
socket (Bluetooth) | X | X | This function creates a socket that is bound to a specific service provider. |
WSALookupServiceBegin (Bluetooth) | X | X | This function initiates a client query that is constrained by the information contained within a WSAQUERYSET (Bluetooth) structure. |
WSALookupServiceEnd (Bluetooth) | X | X | This function frees the handle after previous calls to the WSALookupServiceBegin (Bluetooth) and WSALookupServiceNext (Bluetooth) functions. |
WSALookupServiceNext (Bluetooth) | X | X | This function retrieves the results of an SDP search. |
WSASetService (Bluetooth) | X | X | This function adds, updates, or removes service records from the local SDP database. |
See Also
Bluetooth | Bluetooth Application Development
Send Feedback on this topic to the authors