MBnepPacketNotifier Class Reference

class MBnepPacketNotifier : public MBnepPacketNotifierBase

Interface to be implemented by low power mode policy plugins for PAN

Inherits from

Member Functions Documentation

MbpnBnepDataTransferred(const TArray< TBnepBytesTransferred > &)

voidMbpnBnepDataTransferred(const TArray< TBnepBytesTransferred > &aBnepBytesTransferred)[pure virtual]

Called by BNEP every 2 seconds with information of how much data has been transferred in that time. If no data is transferred for 20 seconds, this will stop being called.

Parameters

const TArray< TBnepBytesTransferred > & aBnepBytesTransferredArray of TBnepBytesTransferred, with information of number of bytes sent and received to each physical link

MbpnDeviceAdded(const TBTDevAddr &)

voidMbpnDeviceAdded(const TBTDevAddr &aAddr)[pure virtual]

Called by BNEP when a new device is added

Parameters

const TBTDevAddr & aAddrBluetooth device address for the new device

MbpnDeviceRemoved(const TBTDevAddr &)

voidMbpnDeviceRemoved(const TBTDevAddr &aAddr)[pure virtual]

Called by BNEP when a device is removed

Parameters

const TBTDevAddr & aAddrBluetooth device address of the removed device

MbpnSetLinkControl(MPanLinkControlBase &)

voidMbpnSetLinkControl(MPanLinkControlBase &aPanLinkControl)[pure virtual]

Called by BNEP to set the MPanLinkControlBase interface, which can be called to control sniff mode

Parameters

MPanLinkControlBase & aPanLinkControlReference to MPanLinkControl which will be implemented by the PAN profile