Vhl_Is_Selected; Return Values - Siemens SIMATIC RF1060R Operating Instructions Manual

Simatic ident
Hide thumbs Also See for SIMATIC RF1060R:
Table of Contents

Advertisement

Programming interface
4.1 The functions of the DLL
4.1.9

vhl_is_selected

This function checks whether the card selected the last time the "vhl_select" function
executed is still or once again located in the antenna field. If the card is there, the status
"OK" is returned.
Note that this function always returns "CARD_NOT_SELECTED_ERR" when a card is
shown a card without the "vhl_select" function being executed first.
Function call
int
vhl_is_selected(
int Handle,
int * Status
);
Description of the parameters
Parameter
vhl_is_selected
Return value
4.1.10

Return values

The following table contains a list of the possible values that the reader can return for the
various functions.
Value
0x00
0x01
0x02
0x03
0x04
0x05
0x06
0x07
0x08
0x09
18
Description
This parameter checks whether the card selected the last time the
"vhl_select" function executed is still or once again located in the antenna
field.
Handle
The session key returned by the function "brp_open_usb_session()".
Status
You will find more information on the reader status in the section "Status
codes (Page 19)".
BRP_OK
You will find more information on return values in the section "Return val-
ues (Page 18)".
Variable
BRP_OK
BRP_ERR_STATUS
BRP_ERR_BUSY
BRP_ERR_IDLE
BRP_ERR_TIMEOUT
BRP_ERR_CORRUPTED_FRAME
BRP_ERR_UNEXPECTED_FRAME
BRP_ERR_GENERAL_IO
BRP_ERR_BUFFER_OVERFLOW
BRP_ERR_NO_MORE_HANDLES
Description
No error has occurred
The reader has returned a status code that is ≠ "0".
The reader is currently processing a function.
The reader is waiting for a function.
The response time has been exceeded.
A bad frame was detected.
An unexpected frame was detected.
The underlying serial port has caused an error.
The reader sent more data than expected.
There is no free session key.
Operating Instructions, 05/2017, C79000-G8976-C432-02
SIMATIC RF1060R

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents