#ifndef _OTAD_H_ | |
#define _OTAD_H_ | |
#include "mbtk_log.h" | |
#define OTA_DEBUG LOGD | |
#define OTA_ERR LOGE | |
#define UBUS_UNIX_SOCKET "/var/run/ubus/ubus.sock" | |
enum { | |
OTA_TYPE_HTTP, | |
OTA_TYPE_UDP, | |
OTA_TYPE_SD, | |
}; | |
// Add by liubin | |
void revision_out_find(char *data, int len, unsigned int processed_cnt); | |
int revision_out_update(); | |
// End by liubin | |
#endif | |