<UgiFirmwareUpdateDelegate> Protocol Reference
Overview
A UgiFirmwareUpdateDelegate object is passed to the firmwareUpdate method of the Ugi singleton.
All of the protocol methods are optional, the delegate only implements the methods it needs.
Instance Methods | |
(void) | - firmwareUpdateProgress:withAmountTotal:canCancel: |
Firmware update progress. More... | |
(void) | - firmwareUpdateCompleted:updateTime: |
Firmware update complete. More... | |
Types | |
enum | UgiFirmwareUpdateReturnValues { UGI_FIRMWARE_UPDATE_SUCCESS = 0, UGI_FIRMWARE_UPDATE_NO_FILE = 100, UGI_FIRMWARE_UPDATE_BAD_FILE = 101, UGI_FIRMWARE_UPDATE_INCOMPATIBLE_HARDWARE = 102, UGI_FIRMWARE_UPDATE_INCOMPATIBLE_VERSION = 103, UGI_FIRMWARE_UPDATE_CRC_MISMATCH = 3, UGI_FIRMWARE_UPDATE_PROTOCOL_FAILURE = 104, UGI_FIRMWARE_UPDATE_CANT_RECONNECT = 105, UGI_FIRMWARE_UPDATE_CANCELLED = 106, UGI_FIRMWARE_UPDATE_BATTERY_TOO_LOW = 107 } |
Values returned from firmwareUpdate and sent with firmwareUpdateCompleted. More... | |
Instance Method Documentation
|
optional |
Firmware update progress.
- Parameters
-
amountDone amount of the update completed amountTotal amount in the complete update canCancel YES if the update can be cancelled at this point
- (void) firmwareUpdateCompleted: | (UgiFirmwareUpdateReturnValues) | result | |
updateTime: | (int) | seconds | |
Firmware update complete.
- Parameters
-
result Result of the update seconds Time the update took in seconds
Enumeration Documentation
- (enum) UgiFirmwareUpdateReturnValues |
Values returned from firmwareUpdate and sent with firmwareUpdateCompleted.
Copyright © 2012-2017 U Grok It, Inc. connect@UGrokIt.com U Grok It and the U Grok It logo are registered trademarks of U Grok It, Inc. All other trademarks and copyrights are the property of their respective owners |