CPcCardControlEngine Class Reference

class CPcCardControlEngine : public CBase

Inherits from

  • CPcCardControlEngine

Constructor & Destructor Documentation

CPcCardControlEngine(CPcCardPktDrv *)

CPcCardControlEngine(CPcCardPktDrv *aPktDrv)[private]

Constructor.

Parameters

CPcCardPktDrv * aPktDrvPointer to PC Card Packet Driver.

~CPcCardControlEngine()

~CPcCardControlEngine()

Destructor.

Member Functions Documentation

CardOpen()

TBool CardOpen()[inline]

ConstructL()

voidConstructL()[private]

Create the CPcCardControlEngine object.

GetInterfaceAddress()

TUint8 *GetInterfaceAddress()

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

LinkLayerUp()

voidLinkLayerUp()[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()

voidLoadDeviceDriversL()[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 * aPktDrvPointer to PC Card Packet Driver.

ParseMACFromFileL()

voidParseMACFromFileL()

Parse the Machine Address from the File.

ProcessReceivedPacket(TDesC8 &)

voidProcessReceivedPacket(TDesC8 &aBuffer)[private]

Upwards notify

Parameters

TDesC8 & aBufferA Reference to a buffer holding data.

ResumeSending()

voidResumeSending()[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 * aBufferThe data to be send is set.

StartL()

voidStartL()

Open the Card LDD

Stop()

voidStop()

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]