Bluetooth Framework
ContentsIndexHome
PreviousUpNext
TwclBluetoothRadio.GetRemoteRssi Method

Reads RSSI value from a remote device.

Syntax
Pascal
function GetRemoteRssi(const Address: Int64; out Rssi: ShortInt): Integer;
Parameters 
Description 
const Address: Int64 
The remote Bluetooth device's MAC address.  
out Rssi: ShortInt 
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.