Amadis

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

C Structures

N/A

Callbacks

typedef tPaymentError (*ApplicationSelectionMethod)(tADFList *mutualList, tByte *MLIndex, tBoolean CL)

typedef tBoolean (*KernelSelectionMethod)(tByte* kernelIdentifier, tByte kernelIdentifierLen, tByte* requestedKernelIdentifier)

Primitives

Names

Comments

enpInitialize

Set internal context to prepare the entry point

enpConnectPaymentServices

Connect entry point onto available L2 CL kernels

enpReleasePaymentServices

Broadcast afsRelease to all L2 CL kernels

enpDisconnectPaymentServices

Disconnect entry point from connected L2 CL kernels

enpExecutePaymentTransaction

Main point of entry to initiate a CL transaction

tPaymentContext shall be set accordingly

tOutcomeParameter provides final status

Set sp to:

  • spSTART_A: to initiate a new transaction

  • spSTART_D: to activate the kernel used for the current transaction

  • spNO_START: to clean the context

enpSetPollingTimeout

Set time used during gpiPolling to detect a card presentation

enpSkipPollingOnNextStartB

When gpiPolling is performed from outside the entry point, its skips the gpiPolling to avoid double tap

enpSetKernelSelectionMethod

enpSetApplicationSelectionMethod

enpSetLegacyXXXStatus

enpAreAllCLApplicationNotAllowed

enpGetPPSEFCI

PPSE’s FIC is store so payment application can fetch any proprietary tags like 9F0A (ASPRD)

  • No labels