Scrselectcard - BIXOLON SRP-270 Reference Manual

Linux sdk guide for pos/mobile printer
Hide thumbs Also See for SRP-270:
Table of Contents

Advertisement

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
Constant
SCR_SMARTCARD
SCR_SAM1
SCR_SAM2
* char *pResponse
[in, out] Response to the command
[Return Values]
Constant
SUCCESS
WRITE_ERROR
NOT_SUPPORT
SCR_RESPONSE_ERROR
* Example
int ret;
char response = 0xff;
ConnectToPrinter(...........);
......
ret = ScrSelectCard(SCR_SMARTCARD, &response);
if (0x00 != response)
return;
......
Rev. 1.00
Value
48
Set Smart card for communication.
49
50
Value
0
-105
-124
The function is not supported.
-126
The response data is incorrect.
- 50 -
POS/Mobile Printer
Description
Set SAM1 for communication.
Set SAM2 for communication.
Description
The function is successful.
Data transmission failed.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents