C API for BALTECH SDK

§ brp_FlashFS_RenameFile()

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.

Parameters
[in]protocolused to execute the command
[in]FileIdThe File ID of the file that shall be renamed.
[in]NewFileIdThe new File ID the file to rename should get.