CPcCardControlEngine Class Reference

class CPcCardControlEngine : public CBase

Inherits from

Constructor & Destructor Documentation

CPcCardControlEngine(CPcCardPktDrv *)

CPcCardControlEngine ( CPcCardPktDrv * aPktDrv ) [private]

Constructor.

Parameters

CPcCardPktDrv * aPktDrv Pointer to PC Card Packet Driver.

~CPcCardControlEngine()

~CPcCardControlEngine ( )

Destructor.

Member Functions Documentation

CardOpen()

TBool CardOpen ( ) [inline]

ConstructL()

void ConstructL ( ) [private]

Create the CPcCardControlEngine object.

GetInterfaceAddress()

TUint8 * GetInterfaceAddress ( )

Call to LDD or subordinate object to get the Hardware address of the LAN Device

LinkLayerUp()

void LinkLayerUp ( ) [private]

Resume Sending is a notification call into NIF from the lower layer telling the NIF that the interface is now up and can accept and transmit data. NIF subsequently calls all the bearers' StartSending() methods directly.

LoadDeviceDriversL()

void LoadDeviceDriversL ( ) [private]

Find and loads the LDD and the PDD if the logical device driver loaded OK. The driver names are read from the LAN bearer table in commdb.

NewL(CPcCardPktDrv *)

CPcCardControlEngine * NewL ( CPcCardPktDrv * aPktDrv ) [static]

Create a new CPcCardControlEngine object.

Parameters

CPcCardPktDrv * aPktDrv Pointer to PC Card Packet Driver.

ParseMACFromFileL()

void ParseMACFromFileL ( )

Parse the Machine Address from the File.

ProcessReceivedPacket(TDesC8 &)

void ProcessReceivedPacket ( TDesC8 & aBuffer ) [private]

Upwards notify

Parameters

TDesC8 & aBuffer A Reference to a buffer holding data.

ResumeSending()

void ResumeSending ( ) [private]

Resume Sending is a notification call into NIF from the lower layer telling the NIF that a previous sending congestion situation has been cleared and it can accept more downstack data.

Send(HBufC8 *)

TInt Send ( HBufC8 * aBuffer )

Sender class handles queueing and takes ownership of the HBuf and the CIOBuffer .

Parameters

HBufC8 * aBuffer The data to be send is set.

StartL()

void StartL ( )

Open the Card LDD

Stop()

void Stop ( )

Cancel I/O and close the Card LDD.

Member Data Documentation

RBusDevEthernet iCard

RBusDevEthernet iCard [private]

TBool iCardOpen

TBool iCardOpen [private]

TBuf8< KConfigBufferSize > iConfig

TBuf8 < KConfigBufferSize > iConfig [private]

CPcCardEventHandler * iEventHandler

CPcCardEventHandler * iEventHandler [private]

TBuf< KCommsDbSvrDefaultTextFieldLength > iLDDName

TBuf < KCommsDbSvrDefaultTextFieldLength > iLDDName [private]

CPcCardPktDrv * iNotify

CPcCardPktDrv * iNotify [private]

TBuf< KCommsDbSvrDefaultTextFieldLength > iPDDName

TBuf < KCommsDbSvrDefaultTextFieldLength > iPDDName [private]

TInt iPcmciaSocket

TInt iPcmciaSocket [private]

CPcCardReceiver * iReceiver

CPcCardReceiver * iReceiver [private]

CPcCardSender * iSender

CPcCardSender * iSender [private]