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

Version 1 Next »

Polling addresses card interface detection. In the scope of Agnos Framework integration, it usually covers contact and contactless interfaces, but for the purpose of an actual payment system, magstripe is also part of the problem. Services related to polling are:

tGPIError gpiTechnoPolling(const unsigned char technologies, const unsigned int timeout,unsigned char *technologyDetected);

Use this primitive from L3 if contact and/or magstripe only are(is) supported:

  1. Define a filter made of the technologies that are to be detected by the GPI

  2. Set a timeout for the maximum polling duration

  3. Call the primitive

  4. Analyse the error code and the technology detected

It is also possible to use this primitive to detect card removal.

tGPIError gpiPolling(const char* contactlessCardReaderName);

This primitive is used by AgnosEP if contactless plus - optionally - contact and/or magstripe are(is) supported. See Antenna Management page.

  • No labels