CIso14443Connection Class Reference

#include <mw/iso14443connection.h>

class CIso14443Connection : public CBase, public MNfcConnection

Inherits from

Detailed Description

This class provides methods to connect to and exchange data with a ISO14443 tag.

{nfctagextension.lib}

Since
S60 ?S60_version

Member Attribute Documentation

iIso14443

CIso14443 *iIso14443[protected]

iNfcServer

RNfcServer &iNfcServer[protected]

iNfcTagConnection

RNfcTagConnection *iNfcTagConnection[protected]

Constructor & Destructor Documentation

CIso14443Connection ( RNfcServer & )

CIso14443Connection(RNfcServer &aNfcServer)[protected]

~CIso14443Connection ( )

IMPORT_C~CIso14443Connection()

Destructor.

Member Function Documentation

Activate ( TInt )

IMPORT_C TIntActivate(TIntaHandle)[virtual]

See also: MNfcConnection

CancelRawModeAccess ( )

IMPORT_C voidCancelRawModeAccess()[virtual]

See also: MNfcConnection

ConnectionMode ( )

IMPORT_C TNfcConnectionInfo::TNfcConnectionModeConnectionMode()[virtual]

See also: MNfcConnection

ConstructL ( )

voidConstructL()[protected]

Deactivate ( )

IMPORT_C voidDeactivate()[virtual]

Reimplemented from MNfcConnection::Deactivate()

See also: MNfcConnection

ExchangeData ( TRequestStatus &, const TDesC8 &, TDes8 & )

IMPORT_C voidExchangeData(TRequestStatus &aStatus,
const TDesC8 &aSentData,
TDes8 &aReceivedData
)

Exchanges Application Protocol Data Unit commands with target ISO14443 tag.

Parameters
aStatusThe client's request status.
aSentDataA data, which will be sended to target peer.
aReceivedDataA data, which will contain response to sended data.

Return Values

KErrNone Data exchange successful.
KErrTooBig Response data is too big for aReceivedData.

ExchangeData ( const TDesC8 &, TDes8 & )

TInt ExchangeData(const TDesC8 &aTransmitData,
TDes8 &aReceivedData
)[protected]

ExchangeDataCancel ( )

IMPORT_C voidExchangeDataCancel()

Cancels ExchangeData.

IsActivated ( )

IMPORT_C TBoolIsActivated()[virtual]

See also: MNfcConnection

NewL ( RNfcServer & )

IMPORT_C CIso14443Connection *NewL(RNfcServer &aNfcServer)[static]

Creates a new instance of this class. May leave with one of the system wide error codes.

Parameters
aNfcServerReference to NfcServer.
Return Value
Pointer to the newly created instance.

NewLC ( RNfcServer & )

IMPORT_C CIso14443Connection *NewLC(RNfcServer &aNfcServer)[static]

Creates a new instance of this class. May leave with one of the system wide error codes.

Parameters
aNfcServerReference to NfcServer.
Return Value
Pointer to the newly created instance.

RawModeAccess ( TRequestStatus &, const TDesC8 &, TDes8 &, TTimeIntervalMicroSeconds32 & )

IMPORT_C voidRawModeAccess(TRequestStatus &aStatus,
const TDesC8 &aCommand,
TDes8 &aResponse,
TTimeIntervalMicroSeconds32 &aTimeout
)[virtual]

See also: MNfcConnection