/**************************************************************************** * * Copy right: Qx.ChenJie * File name: Fota.h * Description: Fota函数 * History: 2021-03-15 * ****************************************************************************/ #include "bsp_custom.h" #define Fota_Addres_Begin (0x2A0000) typedef struct _Fota_Type { bool Fota_update_flag ; bool Fota_update_error ; UINT32 Fota_All_Data_Len ; UINT32 Fota_Current_Addres ; UINT8 Fota_Recv_Data_Len ; UINT8 Fota_Recv_Data[100] ; UINT32 Fota_Flash_Addres; UINT8 Fota_CRC ; }Fota_Type; void Fota_Func(UINT8 *DataPtr,INT32 connectId);