Definition: This function restores an item from PDS to RAM.
Syntax
PdsStatus_t PDS_Restore(PdsFileItemIdx_t pdsFileItemIdx, uint8_t item);
Input Parameters
Parameters Name |
Parameters Type |
Description |
---|---|---|
pdsFileItemIdx |
PdsFileItemIdx_t |
PDS file ID of the item |
item |
uint8_t |
PDS item ID |
Return Type and Values
Parameter Name |
Parameter Type |
Description |
---|---|---|
|
ENUM |
PDS status codes. Definition available in
|
Return Value |
Reason |
---|---|
PDS_OK |
PDS operation is success |
PDS_INVALID_FILE_IDX |
File ID is invalid |
PDS_NOT_FOUND |
Item ID is not found in File ID or File reference is not in NVM |
PDS_ITEM_DELETED |
Item is deleted from the PDS |
API Type – Synchronous