Programming
6.2 Programming via USB/RS232 interface (using DLL functions)
SIMATIC RF1000
Operating Instructions, 02/2020, C79000-G8976-C432-07
29
6.2.1.7
syscmd_get_info
The function reads out information about the firmware of the reader.
The value read out contains information on the type of firmware, the version and the serial
number of the reader.
Function call
int
syscmd_get_info(
int Handle,
char * fws,
int * Status
);
Table 6- 7
Description of the parameters
Parameter
Description
syscmd_get_info
This function call reads out information about the firmware of the reader.
Handle
The session key returned by the "brp_open_usb_session" or
"brp_open_serial_session" function.
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
OK
Return value
•
BRP_OK
You will find more information on return values in the section "Return val-