Repo for ESP32 Weather Station Development
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

server.h 449B

1234567891011121314151617181920212223
  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_ */