/**************************************************************************** * * Copy right: Qx.ChenJie * File name: Fota.h * Description: Fota函数 * History: 2021-03-15 * ****************************************************************************/ #include "bsp_custom.h" typedef struct _Fota_Type { 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; extern volatile bool Fota_update_flag; void Fota_Func(UINT8 *DataPtr,INT32 connectId);