Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

tDataExchange (dataxhng.h)

Callbacks

typedef void (*emvcallback)(void* data)

Primitives

Names

Comments

Initialization

pmwGetPaymentMiddlewareVersionNumber

Get AgnosMW version

pmwGetKernelVersion

Get EMV core engine version

pmwInitializePaymentContext

Shall be called before any new transaction

pmwIntializeOutComeParameter

Shall be called before any new transaction

dtmInitializeFromFile

Agnos uses three files to persit the data model:

  • TERMINAL

  • PROCESSING

  • ENTRY_POINT

Use this primitive ahead any transaction flow in order to initialize the transient data model.

dtmSetTransactionalContext

dtmSetData

  • TERMINAL_CTX

  • CONTACT_PROCESSING_CTX

  • CONTACTLESS_PROCESSING_CTX

  • ENTRY_POINT

dtmGetData

  • TERMINAL_CTX

  • CONTACT_PROCESSING_CTX

  • CONTACTLESS_PROCESSING_CTX

  • ENTRY_POINT

pmwProceedToUniversalFinalSelection

Proceed to standard final selection following EMVCo specs. This function call can be overloaded in CT and hooked in contactless in order to implement specific selection logic (US, Canada, France)

dtmSelectCTKernel

pmwSetEMVResult

Set EMV parameters after a transaction (see tPaymentContext)

pmwCloseSession

...