Example code to configure PAL 3A, 4A, 4 and MIFARE to work in Pcsc mode. This is valid for Pcsc readers only.
More...
Example code to configure PAL 3A, 4A, 4 and MIFARE to work in Pcsc mode. This is valid for Pcsc readers only.
HAL Initialization for Pcsc contactless interface refer HAL Initialization for PCSC Reader.
#define CHECK_SUCCESS(x) \
if ( (x) != PH_ERR_SUCCESS ) \
{ \
printf ( "\n\n" ); \
printf ( "An error occurred: (0x%04X)\n", (x) ); \
printf ( "Pressing any key will exit the demo.\n" ); \
_getch (); \
return 0; \
}
CHECK_SUCCESS ( wStatus );
CHECK_SUCCESS ( wStatus );
CHECK_SUCCESS ( wStatus );
CHECK_SUCCESS ( wStatus );