esp8266.h 356 B

123456789101112131415161718
  1. #ifndef __ESP8266_H__
  2. #define __ESP8266_H__
  3. #include "fly_param.h"
  4. #include "interface.h"
  5. #include "iwdg.h"
  6. #include "uart6.h"
  7. #define ESP_CWMODE 0
  8. #define ESP_RST 1
  9. #define ESP_CWJAP 2
  10. #define ESP_MUX 3
  11. #define ESP_SERVER 4
  12. #define ESP_SEND_STATE 5
  13. #define ESP_SEND_WORK 6
  14. void esp_8266_task(void);
  15. #endif