34#ifndef _NB_STREAM_UP_H
35#define _NB_STREAM_UP_H
37#include <basictypes.h>
43#define STREAM_UP_FAIL (0)
44#define STREAM_UP_OK (1)
89int SendApplicationCodeAsS19(
int fd);
92int ProcessS3(
const char *cp, uint32_t base_Addr, puint8_t CopyTo, uint32_t &cur_pos, uint32_t maxlen);
112int SendUserFlashToStreamAsBinary(
int fd);
130int SendUserFlashToStreamAsS19(
int fd);
148int ReadS19UserFlashFromStream(
int fd);
165int ReadBinaryUserFlashFromStream(
int fd);
170struct TwoPartUpdateStruct
172 uint8_t S0Record[24];
178 TwoPartUpdateStruct()
189int ReadTwoPartAppUdate(
int fd, TwoPartUpdateStruct &us);
197int DoTwoPartAppUpdate(TwoPartUpdateStruct &us);
202void AbortTwoPartAppUpdate(TwoPartUpdateStruct &us);
int ReadBinaryApplicationCodeFromStream(int fd)
Read a binary application image from an input stream and program flash memory.
int ReadS19ApplicationCodeFromStream(int fd)
Read an ASCII application image in s-record .s19 format from an input stream and program flash memory...
#define STREAM_UP_FAIL
Action failed.
Definition StreamUpdate.h:43