EasyManua.ls Logo

VeriFone MX800 Series - Rfcrupdatefw()

VeriFone MX800 Series
344 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CONTACTLESS RF CARD READER MODULE
RFCRUpdateFW()
M
X
800 SERIES PROGRAMMERS GUIDE 241
RFCRUpdateFW()
Upgrades the RFCR Module firmware.
Prototype
int RFCRUpdateFW(char* fileName, int removeFile, FWUpdateCallback
*displayProgress);
Parameters
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
fileName Pointer to name of the update hex file. The filename shall not
have any path prefix, and the file is assumed to be in the ā€œ/lib/
modulesā€ directory.
removeFile 0 = do not remove the file
1 = remove the hex file after a successful update
displayProgre
ss
Pointer to callback function to process the progress messages. If
NULL, no progress or error messages are provided (except the
return code).
1 Success
not 1 Any return value that is not 1 (either < = 0 or >1) are considered
errors.

Table of Contents