Skip to content

Commit 38dcffd

Browse files
Added delete Telemetry file in header file telemetry_fs_utils.h
1 parent 72b9081 commit 38dcffd

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

obc/app/modules/telemetry_mgr/telemetry_fs_utils.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,12 @@ obc_error_code_t readNextTelemetryFromFile(int32_t telemFileId, telemetry_data_t
9595
* @return obc_error_code_t
9696
*/
9797
obc_error_code_t createAndOpenTelemetryFileRW(uint32_t telemBatchId, int32_t *telemFileId);
98+
99+
/**
100+
* @brief Deletes a telemetry file based on a specific file path
101+
*
102+
* @param filePath Path to the File
103+
* @return obc_error_code_t
104+
* @note Telemetry file must exist first
105+
*/
106+
obc_error_code_t deleteSelectedTelemetryFile(const char *filePath);

0 commit comments

Comments
 (0)