SWRU455M February 2017 – October 2020 CC3120 , CC3120MOD , CC3130 , CC3135 , CC3135MOD , CC3220MOD , CC3220MODA , CC3220R , CC3220S , CC3220SF , CC3230S , CC3230SF , CC3235MODAS , CC3235MODASF , CC3235MODS , CC3235MODSF , CC3235S , CC3235SF
Rolling back a secure file requires a file token with write permission.
Rolling back the file makes the old file copy into the active one; at the end of the process, the file state is changed to standard file.
The function interface for rolling back a file is sl_FsCtl (SL_FS_CTL_ROLLBACK..). For secure files, the rollback also rolls back the file tokens.
Rolling back files that are currently in the standard file state acts as file abort, but with the filename as input rather than the file handle.