shuichan_new/STM32F103_App1/HardWare/NETWORK/net_wifi_ota.h

14 lines
440 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#ifndef NET_WIFI_OTA_H
#define NET_WIFI_OTA_H
#include "main.h"
#include <stdint.h>
/* WiFi 通道 OTA透传 TCP 上软件实现 HTTP 下载固件到 W25Q64 槽 B
* 校验/信息区/复位进 BL 的流程与 4G OTA(air780e_trigger_ota) 对齐。
* 成功后内部直接复位;失败返回后恢复正常业务。 */
void net_wifi_ota(const char *host, int port, const char *path,
const char *ota_id, uint16_t new_ver, uint16_t crc16);
#endif /* NET_WIFI_OTA_H */