BthReadRSSI
Other versions of this page are also available for the following:
8/28/2008
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 |
Windows Mobile | Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later |