FlashFS.RenameFile
This command changes the File ID of a file from FileId to NewFileId, provided the file with ID FileId exists and a file with ID NewFileId doesn't exist yet.
Properties
- Command code: 0x4905
- Command timeout: 100 ms
- Possible status codes: General status codes, FlashFS.ErrFsCorrupt, FlashFS.ErrFlashAccess, FlashFS.ErrFileNotFound, FlashFS.ErrFileExist
Parameters (request frame)
Name | Type/Size | Description |
---|---|---|
FileId | Integer (16 bits) | The File ID of the file that shall be renamed. |
NewFileId | Integer (16 bits) | The new File ID the file to rename should get. |
Returned values (response frame)
None