Bluetooth Application Development Functions
A version of this page is also available for
4/8/2010
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 | Description |
---|---|
This function permits an incoming connection attempt on a socket. |
|
This function associates a local address with a socket. |
|
This function establishes a connection to a specified socket. |
|
This function retrieves the name of the peer to which a socket is connected. |
|
This function retrieves the local name for a socket. |
|
This function retrieves a socket option. |
|
This function sets a socket option. |
|
This function creates a socket that is bound to a specific service provider. |
|
This function initiates a client query that is constrained by the information contained within a WSAQUERYSET (Bluetooth) structure. |
|
This function frees the handle after previous calls to the WSALookupServiceBegin (Bluetooth) and WSALookupServiceNext (Bluetooth) functions. |
|
This function retrieves the results of an SDP search. |
|
This function adds, updates, or removes service records from the local SDP database. |
|
This function is called by an application to register the class of events for which to receive notifications. |
|
This function is called by the application to stop receiving event notification for class of events registered in an earlier call to RequestBluetoothNotifications. |
|
Retrieves the current mode of operation of the Bluetooth radio. |
|
Is called by an application to send an event into the Bluetooth stack. |
|
Sets the Bluetooth mode of operation, reflects it in the control panel, and persists that state across hardware insertion and reboot. |