Rfcrupdatefw() - VeriFone MX800 series Programmer's Manual

Hide thumbs Also See for MX800 series:
Table of Contents

Advertisement

RFCRUpdateFW()

Upgrades the RFCR Module firmware.
Prototype
int RFCRUpdateFW(char* fileName, int removeFile, FWUpdateCallback
*displayProgress);
Parameters
Pointer to name of the update hex file. The filename shall not
fileName
have any path prefix, and the file is assumed to be in the "/lib/
modules" directory.
0 = do not remove the file
removeFile
1 = remove the hex file after a successful update
Pointer to callback function to process the progress messages. If
displayProgre
NULL, no progress or error messages are provided (except the
ss
return code).
The format of the FWUpdateCallback is:
typedef void (FWUpdateCallback)(int messageType, const char*
msg);
where the messageType is:
#define ERROR_MESSAGE 1
#define INFO_MESSAGE 2
Return Values
1
Success
not 1
Any return value that is not 1 (either < = 0 or >1) are considered
errors.
C
RF C
R
ONTACTLESS
ARD
RFCRUpdateFW()
X
M
800 S
P
ERIES
ROGRAMMERS
M
EADER
ODULE
241
G
UIDE

Advertisement

Table of Contents
loading

Table of Contents