Skip to content

Commit 3db4e5c

Browse files
committed
Fota:add API to request fota aboard
Signed-off-by: Ajay Bhargav <[email protected]>
1 parent 83f0018 commit 3db4e5c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

include/fota.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ int fota_init(void);
2727
*/
2828
int fota_start(const char *in_url);
2929

30+
/**
31+
* @brief Request to abort firmware update
32+
*
33+
* @return return 0 on success, negative value on error
34+
*/
35+
int fota_abort(void);
36+
3037
/**
3138
* Get OTA status
3239
* @return Return 1 if FOTA in progress, 0 otherwise

0 commit comments

Comments
 (0)