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:
Code Block | ||
---|---|---|
| ||
tGPIError gpiTechnoPolling(const unsigned char technologies, const unsigned int timeout,unsigned char *technologyDetected); |
...
It is also possible to use this primitive to detect card removal.
Code Block | ||
---|---|---|
| ||
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.