30 lines
568 B
C
30 lines
568 B
C
|
|
#ifndef __APP_COMMON_H
|
|||
|
|
#define __APP_COMMON_H
|
|||
|
|
|
|||
|
|
/* Ӧ<>ò㹫<C3B2><E3B9AB>ͷ<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>а<EFBFBD><D0B0><EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD><C4BF><EFBFBD><EFBFBD><EFBFBD>ı<EFBFBD><EFBFBD><D7BC><EFBFBD><EFBFBD>Ӳ<EFBFBD><D3B2>ģ<EFBFBD><C4A3>ͷ<EFBFBD>ļ<EFBFBD> */
|
|||
|
|
|
|||
|
|
#include <stdio.h>
|
|||
|
|
#include <string.h>
|
|||
|
|
#include <stdint.h>
|
|||
|
|
|
|||
|
|
#include "main.h"
|
|||
|
|
#include "stm32f1xx_hal.h"
|
|||
|
|
|
|||
|
|
#include "system.h"
|
|||
|
|
#include "log.h"
|
|||
|
|
|
|||
|
|
#include "iic.h"
|
|||
|
|
#include "24c02.h"
|
|||
|
|
#include "uart.h"
|
|||
|
|
#include "led.h"
|
|||
|
|
#include "network.h"
|
|||
|
|
|
|||
|
|
#include "ota_app.h"
|
|||
|
|
#include "air780e.h"
|
|||
|
|
#include "w25q64.h"
|
|||
|
|
|
|||
|
|
/* OTA ҵ<><EFBFBD><F1BDA1BF><EFBFBD>ʱ<EFBFBD><CAB1>MQTT <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD>״<EFBFBD> MPUB<55><42><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ */
|
|||
|
|
#define OTA_HEALTH_TIMEOUT_MS (1u * 60u * 1000u)
|
|||
|
|
|
|||
|
|
#endif /* __APP_COMMON_H */
|