Return Values - Siemens SIMATIC RF1000 Operating Instructions Manual

Hide thumbs Also See for SIMATIC RF1000:
Table of Contents

Advertisement

Programming
6.2 Programming via USB/RS232 interface (using DLL functions)
Parameter
Return value
6.2.1.17

Return values

The following table contains a list of the possible values that the reader can return for the
various functions.
Table 6- 19
Value
0x00
0x01
0x02
0x03
0x04
0x05
0x06
0x07
0x08
0x09
0x0A
0x0B
0x0C
40
Description
Status
OK
ERR_NOMESSAGE
ERR_AR_DISABLED
You will find more information on the reader status in the section "Status
codes (Page 55)".
resp
Buffer for the received data
Byte 0: Message type (0x00 for card identification)
Byte 1: Message length in bytes
Byte 2: ... message length +1: Message data
resp_len
Current length of the response data in bytes
max_resp_len
Maximum length of the response data
BRP_OK
You will find more information on return values in the section "Return val-
ues (Page 40)".
Return values
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
BRP_ERR_INSUFFICIENT_MEM
BRP_ERR_WRONG_HANDLE
BRP_ERR_WRONG_PARAMETERS
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.
There is not enough memory to generate a new
session key.
The specified session key does not exist.
The parameters of a function are incorrect.
Operating Instructions, 02/2020, C79000-G8976-C432-07
SIMATIC RF1000

Advertisement

Table of Contents
loading

Table of Contents