Share via


BthReadRSSI (Windows Embedded CE 6.0)

1/6/2010

This function retrieves the signal strength for the Bluetooth connection with the peer device.

Syntax

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

Parameters

  • pbt
    [in] Pointer to the Bluetooth address as a BT_ADDR type. BT_ADDR is defined in Ws2bth.h:

    typedef ULONGLONG bt_addr, *pbt_addr, BT_ADDR, *PBT_ADDR;
    
  • pbRSSI
    [out] Pointer to a USHORT type that specifies the signal strength as a value within the range of -127 and 128.

Return Value

This function returns ERROR_SUCCESS when it completes successfully.

Other standard error codes may be returned as appropriate.

Requirements

Header bt_api.h
Library Btdrt.lib
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

Bluetooth OS Functions

Other Resources

Bluetooth Application Development