wclBluetoothRadioGetRemoteRssi Method |
Reads RSSI value from a remote device.
Namespace: wclBluetoothAssembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax public int GetRemoteRssi(
long Address,
out sbyte Rssi
)
Public Function GetRemoteRssi (
Address As Long,
<OutAttribute> ByRef Rssi As SByte
) As Integer
public:
int GetRemoteRssi(
long long Address,
[OutAttribute] signed char% Rssi
)
Parameters
- Address Int64
- The remote Bluetooth device's MAC
address.
- Rssi SByte
- On output contains the RSSI value in dBm.
Return Value
Int32 If the function succeed the return value is
WCL_E_SUCCESS. Otherwise the method returns one of
the WCL error codes.
Remarks Some devices require active connection to measure RSSI. If the method
returns error an application can try to enumerate a device's services
and immediately after that query RSSI once again.
See Also