11.12.3.4.146. Function sems_lite_agent_load_package¶
Defined in File sems_lite_api.h
11.12.3.4.146.1. Function Documentation¶
-
sems_lite_status_t
sems_lite_agent_load_package
(sems_lite_agent_ctx_t *context, multicast_package_t *multiPkgBuf)¶ Load Applet package.
This function load an available update package on the SE and assure the tearing safe update of the SE.
- Return
Status of the operation
- Note
More return codes would be added to request host to either retry or install older package.
- Parameters
context
: Pointer to sems lite agent context.pkgBuf
: Pointer to package. It must follow the format defined in multicast_package_t.
- Return Value
kStatus_SEMS_Lite_Success
: The operation has completed successfully.kStatus_SEMS_Lite_ERR_COM
: Communication to SE failed.kStatus_SEMS_Lite_ERR_DoReRun
: Update not completed please provide update package again.kStatus_SEMS_Lite_ERR_NotApplicable
: Update not applicable on this Chip/type.kStatus_SEMS_Lite_ERR_DoRecovery
: Update can not be completed. Please provide recovery package, to roll back to last working version.kStatus_SEMS_Lite_ERR_Fatal
: Unresolvable error. (This category of errors can only appear in testing of an update package, in the case of NXP updates this is testes before by NXP)kStatus_SEMS_Lite_ERR_NotEnoughNVMemory
: Don’t have has enough NV memory for the SEMS Lite Script.kStatus_SEMS_Lite_ERR_NotEnoughTransientMemory
: Don’t have enough transient memory for the SEMS Lite Script .