-
public interface OnBleUpgradeListener
ota process
-
-
Method Summary
-
-
Method Detail
-
onUpgrade
abstract void onUpgrade(int percent)
percent of ota
- Parameters:
percent
- percent 0-100
-
onSuccess
abstract void onSuccess()
ota success
-
onFail
abstract void onFail(String errorCode, String errorMsg)
ota error
errorCode:303; // file load error304; // ota write error or something wrong307; // ota timeout
- Parameters:
errorCode
- error codeerrorMsg
- error msg
-
-
-
-