Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Architecture

There are 8 callbacks available at different levels of Agnos Framework API :

...

AgnosEP

ApplicationSelectionMethod (entrypoint.h)

Name

ApplicationSelectionMethod

Scope

Contactless only

Description

Setter

enpSetApplicationSelectionMethod

Signature

typedef tPaymentError (*ApplicationSelectionMethod)

...

tByte *MLIndex, tBoolean CL

)

KernelSelectionMethod (entrypoint.h)

Name

N/A

Scope

N/A

Description

N/A

Setter

N/A

Signature

N/A

AgnosMW

emvcallback (dataxchng.h)

Name

emvCallback

Scope

Contactless only

Description

This callback shall be defined to control the contactless transaction flow.

Setter

Signature

typedef void (*emvcallback)

(

void* data

)

Agnos

tGetDataCallback (agnostype.h)

Name

tGetDataCallback

Scope

Contact and Contactless

Description

This callback shall be defined to control the contactless transaction flow

Setter

agnSetParsingCallback (see agnos.h)

Signature

typedef void (*tGetDataCallback)

...

tBoolean lastRead,

tBoolean *next

)

tBuildDOLCallback (agnostype.h)

Name

Scope

Contactless only

Description

This callback shall be defined to control the contactless transaction flow

Setter

agnSetBuildDOLCallback (see agnos.h)

Signature

typedef void (*tBuildDOLCallback)

...

tByte length,

tByte *DOLData

)

tStateCallback (agnostype.h)

Name

tStateCallback

Scope

Contact and Contactless

Description

This callback shall be defined to control the EMV transaction flow and be called at each state defined by Agnos (see tAgnosState in agnostype.h)

Setter

agnSetStateCallback (see agnos.h)

Signature

typedef void (*tStateCallback)

...