Dependencies:
FXAS21002
FXOS8700Q
« Back to documentation index
ce_status.h File Reference
Certificate Enrollment (CE) status and error codes.
More...
Go to the source code of this file.
Enumerations
enum ce_status_e {
CE_STATUS_SUCCESS = 0,
CE_STATUS_ERROR = CE_STATUS_RANGE_BASE,
CE_STATUS_INVALID_PARAMETER ,
CE_STATUS_INSUFFICIENT_BUFFER ,
CE_STATUS_OUT_OF_MEMORY ,
CE_STATUS_ITEM_NOT_FOUND ,
CE_STATUS_DEVICE_BUSY ,
CE_STATUS_BAD_INPUT_FROM_SERVER ,
CE_STATUS_EST_ERROR ,
CE_STATUS_STORAGE_ERROR ,
CE_STATUS_RENEWAL_ITEM_VALIDATION_ERROR ,
CE_STATUS_BACKUP_ITEM_ERROR ,
CE_STATUS_ORIGINAL_ITEM_ERROR ,
CE_STATUS_RESTORE_BACKUP_ERROR ,
CE_STATUS_RENEWAL_STATUS_ERROR ,
CE_STATUS_FORBIDDEN_REQUEST ,
CE_STATUS_ITEM_IS_EMPTY ,
CE_STATUS_NOT_INITIALIZED ,
CE_STATUS_INIT_FAILED
}
Detailed Description
Certificate Enrollment (CE) status and error codes.
This list may grow as needed.
Definition in file ce_status.h .
Enumeration Type Documentation
Enumerator:
CE_STATUS_SUCCESS
Operation completed successfully.
CE_STATUS_ERROR
Operation ended with an unspecified error.
CE_STATUS_INVALID_PARAMETER
A parameter provided to the function was invalid.
CE_STATUS_INSUFFICIENT_BUFFER
The provided buffer size was insufficient for the required output.
CE_STATUS_OUT_OF_MEMORY
An out-of-memory condition occurred.
CE_STATUS_ITEM_NOT_FOUND
The item was not found in the storage.
CE_STATUS_DEVICE_BUSY
The device is processing too many certificate renewals.
CE_STATUS_BAD_INPUT_FROM_SERVER
The server sent a TLV that is either unsupported or malformed.
CE_STATUS_EST_ERROR
An error during enrollment over secure transport (EST) occurred.
CE_STATUS_STORAGE_ERROR
The storage operation ended with an error.
CE_STATUS_RENEWAL_ITEM_VALIDATION_ERROR
Operation failed to validate renewal items.
CE_STATUS_BACKUP_ITEM_ERROR
Operation failed to create/read/validate backup items.
CE_STATUS_ORIGINAL_ITEM_ERROR
Operation failed to create/read/validate original items.
CE_STATUS_RESTORE_BACKUP_ERROR
Operation failed to restore backup items.
CE_STATUS_RENEWAL_STATUS_ERROR
Operation failed to create/validate/delete the renewal status file.
CE_STATUS_FORBIDDEN_REQUEST
The server asked for a forbidden operation (for example: the server is not allowed to renew the device's bootstrap certificate).
CE_STATUS_ITEM_IS_EMPTY
The item was found in the storage but its length is zero.
CE_STATUS_NOT_INITIALIZED
Called CertificateEnrollmentClient API before the initialization of the module.
CE_STATUS_INIT_FAILED
Initialization of the Certificate Enrollment module has failed. This error may be passed into MbedCloudClient::error callback.
Definition at line 33 of file ce_status.h .