Commit graph

4 commits

Author SHA1 Message Date
66bc266f2e
Fix nodemcu/statusclient: I now know what a reed switch is 2023-10-24 11:30:48 +02:00
63f9f25b00
Cleanup nodemcu/statusclient 2023-10-24 01:33:39 +02:00
78e31e52a1
Refactored nodemcu/statusclient
- Fix init_wifi: removed `ESP8266WiFiMulti`; replaced with simple
  wifi ap connection
- Fix send_status: refactored return type into `bool`
- Fix send_status: optimized if-branch for calculation of `status` into
  array access
- Fix send_status: removed `client.connected()` => `client.connect(...)`
  is enough
- Fix: renamed `reed` into `read`
- Cleanup: changed int variables into uint8_t
- Cleanup: moved static data (`ca_certs`, `client_cert/key` into global
  data
- Style: changed typedef enum into scoped enum (enum class decl)
- Style: changed int const definitions into anonymous enum constants
- Style: reorderd headers alphabetically
2023-10-24 01:08:04 +02:00
+++
af78204005 clientprogramme in eigenes verzeichnis verschoben 2023-10-21 20:42:26 +02:00
Renamed from source/nodemcu/statusclient/statusclient.ino (Browse further)