#include <bt_sock.h>
class MBluetoothPhysicalLinkMetricsObserver |
Public Member Functions | |
---|---|
pure virtual void | MbplmoError(TInt) |
virtual IMPORT_C TAny * | MbplmoExtensionInterfaceL(TUid) |
pure virtual void | MbplmoFailedContactCounterChanged(TUint16) |
pure virtual void | MbplmoLinkQualityChanged(TUint8) |
pure virtual void | MbplmoRssiChanged(TInt8) |
pure virtual void | MbplmoTransmitPowerLevelChanged(TInt8) |
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
void | MbplmoError | ( | TInt | aError | ) | [pure virtual] |
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
void | MbplmoFailedContactCounterChanged | ( | TUint16 | aFailedContactCounter | ) | [pure virtual] |
Notification for the initial failed contact counter value, and whenever the failed contact counter changes.
Parameters | |
---|---|
aFailedContactCounter | Number of consecutive failed contacts for this connection |
void | MbplmoLinkQualityChanged | ( | TUint8 | aLinkQuality | ) | [pure virtual] |
Notification for the initial Link Quality value and whenever the Link Quality changes.
Parameters | |
---|---|
aLinkQuality | Link quality for this connection where the higher value represents a better quality link |
void | MbplmoRssiChanged | ( | TInt8 | aRssi | ) | [pure virtual] |
Notification for the initial RSSI (received signal strengh indication) value and whenever the RSSI changes
Parameters | |
---|---|
aRssi | Current RSSI Value in dB |
void | MbplmoTransmitPowerLevelChanged | ( | TInt8 | aTransmitPowerLevel | ) | [pure virtual] |
Notification for the initial transmit power level, and whenever the transmit power level changes.
Parameters | |
---|---|
aTransmitPowerLevel | Transmit power level in dBm |