S
F
ERVICE
UNCTIONS
svcCom3ReqFirmVers()
svcCom3ReqFirmVers()
180
M
X
800 S
P
ERIES
ROGRAMMERS
The svcCom3ReqFirmVers() function requests the current firmware version
within the communication processor. This call can be used to verify the current
firmware version. The function will write the firmware version string to the log file
and will also return the string in the buffer pointed to by *fwBuf. It is a null
terminated string that can be printed or displayed.
Prototype
short svcCom3ReqFirmVers(int fd, char *fwBuf)
Parameters
File descriptor returned when opening a serial port with either open()
fd
or ecrOpen().
Pointer to a buffer that is at least 16 bytes in size, that will hold the null-
*fwBuf
terminated current communication processor firmware version string.
Return Values
This function returns 0 upon success and a negative value if unsuccessful.
G
UIDE