![]()  | 
     BALTECH Docs | 
    C API for BALTECH SDK
   
    
   
   | 
   
| brp_errcode brp_FlashFS_RenameFile | ( | brp_protocol | protocol, | 
| unsigned | FileId, | ||
| unsigned | NewFileId | ||
| ) | 
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.
| [in] | protocol | used to execute the command | 
| [in] | FileId | The File ID of the file that shall be renamed. | 
| [in] | NewFileId | The new File ID the file to rename should get. |