main.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * Copyright (c) 2006-2021, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2026-02-03 RuoFeng the first version
  9. */
  10. #ifndef APPLICATIONS_MAIN_H_
  11. #define APPLICATIONS_MAIN_H_
  12. /*********************↓ define ↓************************/
  13. #define EF_SYS_INFO "sys_info"
  14. #define EF_DEV_INFO "dev_info"
  15. #define EF_LIMIT "limit"
  16. #define SCD_VERSION 214 // 系统版本号
  17. #define DEVICE_TYPE 2 /* 设备类型:4G杀虫灯 */
  18. /*********************↑ define ↑************************/
  19. /*********************↓ include ↓************************/
  20. #include <easyflash.h>
  21. #include "time.h"
  22. #include "ym310_mqtt.h"
  23. #include "ym310_protecl.h"
  24. #include "peri.h"
  25. #include "ecode.h"
  26. #include "parabak.h"
  27. /*********************↑ include ↑************************/
  28. void save_limit(void);
  29. void save_dev_info(void);
  30. void save_sys_info(void);
  31. #endif /* APPLICATIONS_MAIN_H_ */