DIY fertilizer mixer and plant watering machine https://www.xythobuz.de/giessomat.html
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

WifiStuff.h 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * Copyright (c) 2021 Thomas Buck <thomas@xythobuz.de>
  3. *
  4. * This file is part of Giess-o-mat.
  5. *
  6. * Giess-o-mat is free software: you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation, either version 3 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * Giess-o-mat is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with Giess-o-mat. If not, see <https://www.gnu.org/licenses/>.
  18. */
  19. #ifndef _WIFI_STUFF_H_
  20. #define _WIFI_STUFF_H_
  21. #ifdef PLATFORM_ESP
  22. void wifi_setup();
  23. void wifi_run();
  24. void wifi_set_message_buffer(String a, String b, String c, String d);
  25. void wifi_schedule_websocket(void);
  26. void wifi_send_status_broadcast(void);
  27. void wifi_send_websocket(String s);
  28. bool wifi_write_database(int duration, const char *type, int id);
  29. #endif
  30. #endif // _WIFI_STUFF_H_