Package com.zebra.rfid.api3
Class SoftwareUpdate
java.lang.Object
com.zebra.rfid.api3.SoftwareUpdate
This class helps to perform software updates in the reader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the software update status objectvoidUpdate(SoftwareUpdateInfo softwareUpdateInfo) Updates the software in the reader.voidUpdate(SoftwareUpdateInfo softwareUpdateInfo, Context context, List<Uri> uriList)
-
Constructor Details
-
SoftwareUpdate
public SoftwareUpdate()
-
-
Method Details
-
getUpdateStatus
public boolean getUpdateStatus()Gets the software update status object -
Update
public void Update(SoftwareUpdateInfo softwareUpdateInfo) throws InvalidUsageException, OperationFailureException Updates the software in the reader. This method updates the complete software update in the reader from the specified FTP location. This is only applicable for fixed reader (FX and XR). This functionality is not available for hand held reader (MC).- Parameters:
softwareUpdateInfo- This parameter contains the FTP Server information from which to update. This parameter contains the host name (FTP Server with location), user name and password of the FTP Server. By default, the user name and password is "admin"- Throws:
InvalidUsageExceptionOperationFailureException- This exception is thrown when the parameter is invalid or not logged in
-
Update
public void Update(SoftwareUpdateInfo softwareUpdateInfo, Context context, List<Uri> uriList) throws InvalidUsageException, OperationFailureException
-