Repo for ESP32 Weather Station Development
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

24 行
449B

  1. /*
  2. * server.h
  3. *
  4. * Created on: 21 Apr 2020
  5. * Author: Chris
  6. */
  7. #ifndef COMPONENTS_SERVER_SERVER_H_
  8. #define COMPONENTS_SERVER_SERVER_H_
  9. #include <freertos/FreeRTOS.h>
  10. #include <freertos/event_groups.h>
  11. #include <freertos/task.h>
  12. #include <esp_event.h>
  13. #include <esp_log.h>
  14. #include <sys/param.h>
  15. #include "mqtt_client.h"
  16. void init_server();
  17. void send_mqtt_update(double lux, const char* topic);
  18. #endif /* COMPONENTS_SERVER_SERVER_H_ */