Repo for ESP32 Weather Station Development
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
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_ */