Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Fota/Fragmentation/WriteFile.h
- Revision:
- 69:e22889c7eaa9
- Parent:
- 68:5f787643e7d7
- Child:
- 70:0c5b5b02d17b
--- a/Fota/Fragmentation/WriteFile.h Thu Aug 29 08:32:27 2019 -0500
+++ b/Fota/Fragmentation/WriteFile.h Thu Aug 29 12:21:51 2019 -0500
@@ -1,20 +1,3 @@
-/**********************************************************************
-* COPYRIGHT 2018 MULTI-TECH SYSTEMS, INC.
-*
-* ALL RIGHTS RESERVED BY AND FOR THE EXCLUSIVE BENEFIT OF
-* MULTI-TECH SYSTEMS, INC.
-*
-* MULTI-TECH SYSTEMS, INC. - CONFIDENTIAL AND PROPRIETARY
-* INFORMATION AND/OR TRADE SECRET.
-*
-* NOTICE: ALL CODE, PROGRAM, INFORMATION, SCRIPT, INSTRUCTION,
-* DATA, AND COMMENT HEREIN IS AND SHALL REMAIN THE CONFIDENTIAL
-* INFORMATION AND PROPERTY OF MULTI-TECH SYSTEMS, INC.
-* USE AND DISCLOSURE THEREOF, EXCEPT AS STRICTLY AUTHORIZED IN A
-* WRITTEN AGREEMENT SIGNED BY MULTI-TECH SYSTEMS, INC. IS PROHIBITED.
-*
-***********************************************************************/
-
#ifndef _WRITE_FILE_H
#define _WRITE_FILE_H
#include "mDot.h"
@@ -26,7 +9,7 @@
void writeFile(uint8_t* buffer, uint32_t size);
void readFile(uint8_t* buffer, uint32_t size);
void seekFile(uint32_t index);
- void createFile(uint16_t numOfFrags, uint8_t fragSize, uint8_t padding);
+ void createFile(uint16_t numOfFrags, uint8_t fragSize, uint8_t padding);
uint64_t completeFile(uint16_t numOfFrags, uint8_t padding, uint32_t total_frags);
void cleanUp(bool complete);
void reset();
@@ -40,6 +23,6 @@
uint8_t _frag_size;
uint16_t _num_frags;
mDot::mdot_file _upgrade, _file;
-};
+};
#endif
#endif // WRITE_FILE_H