Getlicenses (Called Via "Exec_Command") - Siemens SIMATIC RF1000 Operating Instructions Manual

Hide thumbs Also See for SIMATIC RF1000:
Table of Contents

Advertisement

Table 7-18
Parameter
brp_exec_command
 
Return value
7.2.1.17

GetLicenses (called via "exec_command")

This function reads out which licenses are available on the reader.
Function call
int
brp_exec_command(
int Handle,
byte devcode,
byte cmdcode,
byte * param,
byte param_len,
init timeout,
init * Status,
byte * resp,
int * resp_len,
init max_resp_len
);
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10
Description of the parameters
Description
This function call reads data from the transponder located in the antenna field.
Handle
The session key returned by the "brp_open_usb_session" or "brp_open_seri‐
al_session" function.
devcode
0x05
cmdcode
0x01
param
--
param_len
0x00
timeout
Time in [ms] until the action is aborted (100 is the recommended value).
Status
OK
ERR_NOMESSAGE
ERR_AR_DISABLED
You will find more information on the reader status in the section "Status codes
(Page 66)".
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 values
(Page 52)".
7.2 Programming via USB/RS232 interface (using DLL functions)
Programming
51

Advertisement

Table of Contents
loading

Table of Contents