Upgrade.h
1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/**
********************************************************************
* @file Upgrade.h
* Upgrade.c的头文件
*
*
*********************************************************************
*/
/* Define to prevent recursive inclusion 避免重定义 -------------------------------------*/
#ifndef UPGRADE_H
#define UPGRADE_H
/* Includes ------------------------------------------------------------------*/
#include "JZsdk_Base/JZsdk_Code/JZsdk_Code.h"
#ifdef __cplusplus
extern "C" {
#endif
/* Exported constants --------------------------------------------------------*/
/* 常亮定义*/
/* Exported types ------------------------------------------------------------*/
/* Exported functions --------------------------------------------------------*/
T_JZsdkReturnCode Upgrade_GetStatus(int *status);
T_JZsdkReturnCode Upgrade_PackageDownload_Start();
T_JZsdkReturnCode Upgrade_PackageDownload_Trans(unsigned char *buf, unsigned int len);
T_JZsdkReturnCode Upgrade_PackageDownload_Stop();
T_JZsdkReturnCode Upgrade_PackageCheckCodeSave(unsigned char *CheckCode, int CheckFlag, int len);
T_JZsdkReturnCode Upgrade_PackageCheck();
T_JZsdkReturnCode Upgrade_PackageParse();
T_JZsdkReturnCode Upgrade_PackageUpgrade();
T_JZsdkReturnCode Upgrade_Init();
#ifdef __cplusplus
}
#endif
#endif