Cloud configuration

This commit is contained in:
Gunnar Skjold
2024-08-15 19:18:10 +02:00
parent 55520cd7f6
commit 561b62cafe
8 changed files with 105 additions and 13 deletions

View File

@@ -84,6 +84,7 @@ private:
unsigned long lastEac = 0;
HTTPClient http;
WiFiUDP udp;
WiFiClient tcp;
int maxPwr = 0;
uint8_t boardType = 0;
char timezone[32];
@@ -99,6 +100,7 @@ private:
String seed = "";
char clearBuffer[CC_BUF_SIZE];
uint8_t* httpBuffer = NULL;
unsigned char encryptedBuffer[256];
mbedtls_rsa_context* rsa = nullptr;
mbedtls_ctr_drbg_context ctr_drbg;