Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <bt_sock.h>
Link against: bluetooth.lib

Class MBluetoothPhysicalLinkMetricsObserver

class MBluetoothPhysicalLinkMetricsObserver;

Description

This allows for notification of events relating to a CBluetoothPhysicalLinkMetrics object.

These notifications will be called when the value of a physical link metric that has been subscribed to in CBluetoothPhysicalLinkMetrics changes. If the notification is not called, the value has not changed since the last notification

Mixin class to be used with CBluetoothPhysicalLinkMetrics

Members

Defined in MBluetoothPhysicalLinkMetricsObserver:


Member functions


MbplmoRssiChanged(TInt8)

virtual void MbplmoRssiChanged(TInt8 aRssi)=0;

Description

Notification for the initial RSSI (received signal strengh indication) value and whenever the RSSI changes

Parameters

TInt8 aRssi

Current RSSI Value in dB


MbplmoLinkQualityChanged(TUint8)

virtual void MbplmoLinkQualityChanged(TUint8 aLinkQuality)=0;

Description

Notification for the initial Link Quality value and whenever the Link Quality changes.

Parameters

TUint8 aLinkQuality

Link quality for this connection where the higher value represents a better quality link


MbplmoFailedContactCounterChanged(TUint16)

virtual void MbplmoFailedContactCounterChanged(TUint16 aFailedContactCounter)=0;

Description

Notification for the initial failed contact counter value, and whenever the failed contact counter changes.

Parameters

TUint16 aFailedContactCounter

Number of consecutive failed contacts for this connection


MbplmoTransmitPowerLevelChanged(TInt8)

virtual void MbplmoTransmitPowerLevelChanged(TInt8 aTransmitPowerLevel)=0;

Description

Notification for the initial transmit power level, and whenever the transmit power level changes.

Parameters

TInt8 aTransmitPowerLevel

Transmit power level in dBm


MbplmoError(TInt)

virtual void MbplmoError(TInt aError)=0;

Description

Notification that an error has occured. When this is called, the current subscriptions will be cancelled. If a link disconnection occurs, the CBluetoothPhysicalLinkMetrics object will no longer be valid, so it is recommended to delete the object in this callback

Parameters

TInt aError


MbplmoExtensionInterfaceL(TUid)

IMPORT_C virtual TAny* MbplmoExtensionInterfaceL(TUid aInterface);

Description

Returns a null aObject if the extension is not implemented, or a pointer to another interface if it is.

Parameters

TUid aInterface

UID of the interface to return

Return value

TAny *

The container for another interface as specified by aInterface