#include <mw/iso14443connection.h>
| class CIso14443Connection : public CBase, public MNfcConnection |
| Protected Attributes | |
|---|---|
| CIso14443 * | iIso14443 |
| RNfcServer & | iNfcServer |
| RNfcTagConnection * | iNfcTagConnection |
| Public Member Functions | |
|---|---|
| ~CIso14443Connection() | |
| virtual IMPORT_C TInt | Activate(TInt) |
| virtual IMPORT_C void | CancelRawModeAccess() |
| virtual IMPORT_C TNfcConnectionInfo::TNfcConnectionMode | ConnectionMode() |
| virtual IMPORT_C void | Deactivate() |
| IMPORT_C void | ExchangeData(TRequestStatus &, const TDesC8 &, TDes8 &) |
| IMPORT_C void | ExchangeDataCancel() |
| virtual IMPORT_C TBool | IsActivated() |
| IMPORT_C CIso14443Connection * | NewL(RNfcServer &) |
| IMPORT_C CIso14443Connection * | NewLC(RNfcServer &) |
| virtual IMPORT_C void | RawModeAccess(TRequestStatus &, const TDesC8 &, TDes8 &, TTimeIntervalMicroSeconds32 &) |
| Protected Member Functions | |
|---|---|
| CIso14443Connection(RNfcServer &) | |
| void | ConstructL() |
| TInt | ExchangeData(const TDesC8 &, TDes8 &) |
This class provides methods to connect to and exchange data with a ISO14443 tag.
{nfctagextension.lib}
| CIso14443 * | iIso14443 | [protected] |
| RNfcServer & | iNfcServer | [protected] |
| RNfcTagConnection * | iNfcTagConnection | [protected] |
| CIso14443Connection | ( | RNfcServer & | aNfcServer | ) | [protected] |
| IMPORT_C void | CancelRawModeAccess | ( | ) | [virtual] |
Reimplemented from MNfcConnection::CancelRawModeAccess()
See also: MNfcConnection
| IMPORT_C TNfcConnectionInfo::TNfcConnectionMode | ConnectionMode | ( | ) | [virtual] |
Reimplemented from MNfcConnection::ConnectionMode()
See also: MNfcConnection
| void | ConstructL | ( | ) | [protected] |
| IMPORT_C void | Deactivate | ( | ) | [virtual] |
Reimplemented from MNfcConnection::Deactivate()
See also: MNfcConnection
| IMPORT_C void | ExchangeData | ( | TRequestStatus & | aStatus, |
| const TDesC8 & | aSentData, | |||
| TDes8 & | aReceivedData | |||
| ) | ||||
Exchanges Application Protocol Data Unit commands with target ISO14443 tag.
| Parameters | |
|---|---|
| aStatus | The client's request status. |
| aSentData | A data, which will be sended to target peer. |
| aReceivedData | A data, which will contain response to sended data. |
| KErrNone | Data exchange successful. |
| KErrTooBig | Response data is too big for aReceivedData. |
| IMPORT_C TBool | IsActivated | ( | ) | [virtual] |
Reimplemented from MNfcConnection::IsActivated()
See also: MNfcConnection
| 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 | |
|---|---|
| aNfcServer | Reference to NfcServer. |
| 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 | |
|---|---|
| aNfcServer | Reference to NfcServer. |
| IMPORT_C void | RawModeAccess | ( | TRequestStatus & | aStatus, |
| const TDesC8 & | aCommand, | |||
| TDes8 & | aResponse, | |||
| TTimeIntervalMicroSeconds32 & | aTimeout | |||
| ) | [virtual] | |||
Reimplemented from MNfcConnection::RawModeAccess(TRequestStatus &,const TDesC8 &,TDes8 &,TTimeIntervalMicroSeconds32 &)
See also: MNfcConnection