Commit graph

4 commits

Author SHA1 Message Date
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
c2fd6ec7b0
Refactored config.h: converted #defines in constants 2023-10-24 01:07:23 +02:00
+++
621c41dcd6 anzeige des zertifikates in eigener funktion 2023-10-21 21:04:29 +02:00
+++
af78204005 clientprogramme in eigenes verzeichnis verschoben 2023-10-21 20:42:26 +02:00