Repo for ESP32 Weather Station Development
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

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