1.ftp增加超时控制

2.模块ota升级函数修改
This commit is contained in:
payton 2023-07-27 14:02:43 +08:00
parent 0c1a749cc1
commit 996aa82e50
2 changed files with 49 additions and 915 deletions

View File

@ -202,8 +202,8 @@ typedef struct sf_ftp_send_file
struct sf_ftp_send_file *next;/* next */ struct sf_ftp_send_file *next;/* next */
}sf_ftp_send_file_t; }sf_ftp_send_file_t;
SINT32 sf_ftp_config(UINT8 ssl, UINT8 GprsMode, UINT8 timeout); SINT32 sf_ftp_config(UINT8 ssl, UINT8 GprsMode, int timeout);
SINT32 sf_ftp_send(UINT8 *ftpFileName, UINT8 *filePath, UINT8 timeout); SINT32 sf_ftp_send(UINT8 *ftpFileName, UINT8 *filePath, int timeout);
SINT32 sf_ftp_stop(UINT8 ssl, UINT8 GprsMode); SINT32 sf_ftp_stop(UINT8 ssl, UINT8 GprsMode);
SINT32 sf_pic_send_ftp(void); SINT32 sf_pic_send_ftp(void);
SINT32 sf_txt_send_ftp(void); SINT32 sf_txt_send_ftp(void);

File diff suppressed because it is too large Load Diff