Bluetooth Framework
ContentsIndexHome
PreviousUpNext
CwclBluetoothRadio::GetRemoteRssi Method

Reads RSSI value from a remote device.

Syntax
C++
int GetRemoteRssi(__int64 Address, char& Rssi);
Parameters 
Description 
__int64 Address 
The remote Bluetooth device's MAC address.  
char& Rssi 
On output contains the RSSI value.  

If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

Somedevice requires connection to measure RSSI. If the method returns error code an application can try to enumerate device services and immeditely after that query RSSI once again.

Copyright (c) 2006-2019. All rights reserved.