Compartilhar via


BthReadRSSI (Compact 2013)

3/26/2014

This function retrieves the signal strength of the connection with the peer device.

Syntax

int BthReadRSSI (
  BT_ADDR *pbt, 
  BYTE *pbRSSI
);

Parameters

  • pbt
    [in] Pointer to the Bluetooth address.
  • pbRSSI
    [out] Pointer to the signal strength. The value ranges from -127 through 128.

Return Value

Returns ERROR_SUCCESS on success; otherwise returns standard HRESULT errors.

Requirements

Header

bt_api.h

Library

Btdrt.lib

See Also

Reference

Bluetooth API Management Functions
Bluetooth AG Service Functions