nt9856x/code/application/source/sf_app/code/include/sf_file.h
2023-11-16 09:54:05 +08:00

56 lines
1.3 KiB
C
Executable File

#ifndef _SF_FILE_H_
#define _SF_FILE_H_
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif
#endif
#include "sf_type.h"
#include "sf_param_common.h"
SINT32 sf_quectel_upload_file_to_module(UINT8 *fileAbsolutePath, UINT8 *uploadFname);
SINT32 sf_upload_send_files_to_module(UINT8 mode);
UINT8 sf_check_file_video(void);
UINT8 sf_get_upload_to_module_flag(void);
void sf_set_upload_to_module_flag(UINT8 Falg);
void sf_app_set_temper(SINT16 val); /*0:°F 1:°C */
void sf_app_set_battery(UINT8 val, UINT8 type);
UINT32 sf_create_dailyreport_file(void);
UINT32 sf_create_low_power_warn_file(void);
UINT8 sf_app_get_battery(void);
void sf_custom_send_str_get(UINT8 *sendName, UINT8 *pStr);
//BOOL sf_is_enough_power_to_update(void);
BOOL sf_is_4g_module_usb_update_file_exist(UINT8 *updateFname);
void sf_set_del_flag(BOOL flag);
BOOL sf_get_del_flag(void);
UINT32 sf_get_file_size(UINT8 * fname);
UINT8 sf_get_send_file_list(char *sendfileList, UINT8 *fileTotal);
BOOL sf_check_auto_thumb_file(VOID);
UINT8 sf_get_send_file_total(void);
SINT32 sf_mem_upload_file_to_module(UINT32 MemPhotoAddr, UINT32 MemPhotosize);
SINT32 sf_usr_mem_photo_ch(void);
#ifdef __cplusplus
#if __cplusplus
}
#endif
#endif
#endif