feat(iot): API Client OK

This commit is contained in:
2023-04-03 16:07:57 +02:00
parent 7861cfae51
commit 59728b9694
2 changed files with 58 additions and 20 deletions

View File

@ -13,7 +13,7 @@ public:
bool wifiBegin(String wifiId, String wifiPass, Stream* espSerial);
bool sendValute(String val, String poubelleID);
bool sendValute(String val, String poubelleID, String unit, bool full);
JSONVar* connect();
@ -25,6 +25,7 @@ private:
bool https;
WiFiEspClient* client;
String token;