KT24-1110_65E-HA-651B/apps/soundbox/smartbox/file_transfer/file_transfer.h

19 lines
673 B
C
Raw Permalink Normal View History

2024-11-10 10:44:17 +00:00
#ifndef __FILE_TRANSFER_H__
#define __FILE_TRANSFER_H__
#include "typedef.h"
#include "app_config.h"
void file_transfer_init(void (*end_callback)(void));
void file_transfer_download_start(u8 OpCode_SN, u8 *data, u16 len);
void file_transfer_download_end(u8 status, u8 *data, u16 len);
void file_transfer_download_doing(u8 *data, u16 len);
void file_transfer_download_passive_cancel(u8 OpCode_SN, u8 *data, u16 len);
void file_transfer_download_active_cancel(void);
void file_transfer_download_active_cancel_response(u8 status, u8 *data, u16 len);
void file_transfer_file_rename(u8 status, u8 *data, u16 len);
void file_transfer_close(void);
#endif//__FILE_TRANSFER_H__