POS/Mobile Printer
Rev. 1.00
3-38 ScrSelectCard
Select Smart card, SAM1 and SAM2 for communication. This function is only available on
SPP-R210 SCR.
long ScrSelectCard (uint card, char *pResponse);
[Parameters]
* UINT card
[in] Smart card for communication
Set Smart card for communication.
Set SAM1 for communication.
Set SAM2 for communication.
* char *pResponse
[in, out] Response to the command
[Return Values]
The function is successful.
Data transmission failed.
The function is not supported.
The response data is incorrect.
int ret;
char response = 0xff;
ConnectToPrinter(………..);
……
ret = ScrSelectCard(SCR_SMARTCARD, &response);
if (0x00 != response)
return;
……