次の方法で共有


Bluetooth API Management Functions (Compact 2013)

3/26/2014

This section describes the Bluetooth management functions.

  • BthEnterHoldMode
    Places the Asynchronous Connection-Oriented (ACL) logical transport connection to the peer in Hold mode.
  • BthEnterParkMode
    Puts the ACL connection to the peer specified by the Bluetooth address in PARK state.
  • BthExitParkMode
    Forces the ACL connection to the peer to leave PARK state.
  • BthGetAddress
    Retrieves the Bluetooth address based on the specified connection handle.
  • BthGetCurrentMode
    Retrieves the current mode of the ACL connection to the peer that is specified by the Bluetooth address.
  • BthGetRemoteCOD
    Retrieves the Class of Device (COD) for a for a specified Bluetooth peer device.
  • BthGetRole
    Retrieves the current role for a peer Bluetooth device.
  • BthReadLinkPolicySettings
    Reads the current link policy for the existing connection with the peer that is specified by its Bluetooth address.
  • BthReadLocalVersion
    Reads the version and capabilities of Host Controller Interface (HCI) and Link Manager Protocol (LMP) stacks on the Bluetooth device.
  • BthReadLSTO
    Reads the link supervision timeout (LSTO) property of the connection to a device.
  • BthReadRSSI
    Retrieves signal strength of connection to peer Bluetooth device.
  • BthSwitchRole
    Changes the changes the current role to the specified role.
  • BthWriteLinkPolicySettings
    Writes the current link policy for the existing connection with the peer specified by its Bluetooth address.
  • BthWriteLSTO
    Sets the link supervision timeout (LSTO) property of the connection to a device.

Remarks

Many functions in the Bluetooth API have an equivalent WinSock function that is the preferred way to access Bluetooth functionality because of convenience and code portability within the Win32 family. For information on using these WinSock functions see Bluetooth API Miscellaneous Functions.

See Also

Reference

Bluetooth Application Development Reference