Programming interface
4.1 The functions of the DLL
SIMATIC RF1060R
14
Operating Instructions, 05/2017, C79000-G8976-C432-02
Description of the parameters
Parameter
Description
syscmd_get_info
The parameter reads out information about the firmware of the reader.
Handle
The session key returned by the function "brp_open_usb_session()".
fws
This parameter contains information on the type of firmware, the version
and the serial number of the reader.
Format: xx...xx r.rr.rr dd/dd/dd ssssssss
xx...xx
Firmware type
r.rr.rr
Version (major release, minor release, build ID)
dd/dd/dd
Date of the version
ssssssss
Serial number of the reader
Status
You will find more information on the reader status in the section "Status
Return value
•
BRP_OK
You will find more information on return values in the section "Return val-
4.1.5
syscmd_get_boot_status
The function returns a boot status.
Each bit of the value returned by the function represents an internal component of the
reader. If the component of the reader could not be initialized the corresponding bit is set.
Check the value of "boot_status" for the value "0" and output an error or a warning if the
values do not match.
Function call
int syscmd_get_boot_status(
int Handle,
dword * boot_status,
int * Status
);
Description of the parameters
Parameter
Description
sys-
cmd_get_boot_status
The parameter returns a boot status value.
Handle
The session key returned by the function "brp_open_usb_session()".
boot_status
Each bit represents an internal component of the reader.
Status
You will find more information on the reader status in the section "Status
Return value
You will find more information on return values in the section "Return val-