Skip to content

Commit

Permalink
v1.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
matsfunk committed Apr 9, 2021
1 parent eeebc5c commit 35c5c2b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
Binary file modified dist/oocsi.zip
Binary file not shown.
8 changes: 6 additions & 2 deletions dist/oocsi/DFDataset.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/***************************************************************************
* The DataFoundry library for the ESP32 and ESP 8266 to store and retrieve
* data from ESPs on the Data Foundry platform.
* The DataFoundry library for the ESP32, ESP8266, and Arduino Nano 33 IoT
* to store and retrieve data from ESPs and Arduino Nano 33 IoT on the Data
* Foundry platform.
*
* Developed by Mathias Funk
**************************************************************************/
Expand Down Expand Up @@ -86,6 +87,7 @@ bool DFDataset::logItem() {
http.beginRequest();
http.post(address);
http.sendHeader("Content-Type", F("application/json"));
http.sendHeader("Content-Length", postMessage.length());
http.sendHeader("api_token", api_token);
http.sendHeader("source_id", device_id);
http.sendHeader("device_id", device_id);
Expand Down Expand Up @@ -142,6 +144,7 @@ bool DFDataset::addItem() {
http.beginRequest();
http.post(address);
http.sendHeader("Content-Type", F("application/json"));
http.sendHeader("Content-Length", postMessage.length());
http.sendHeader("resource_id", resource_id);
http.sendHeader("token", resource_token);
http.sendHeader("api_token", api_token);
Expand Down Expand Up @@ -198,6 +201,7 @@ bool DFDataset::updateItem() {
http.beginRequest();
http.put(address);
http.sendHeader("Content-Type", F("application/json"));
http.sendHeader("Content-Length", postMessage.length());
http.sendHeader("resource_id", resource_id);
http.sendHeader("token", resource_token);
http.sendHeader("api_token", api_token);
Expand Down
5 changes: 3 additions & 2 deletions dist/oocsi/DFDataset.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/***************************************************************************
* The DataFoundry library for the ESP32 and ESP8266 to store and retrieve
* data from ESPs on the Data Foundry platform.
* The DataFoundry library for the ESP32, ESP8266, and Arduino Nano 33 IoT
* to store and retrieve data from ESPs and Arduino Nano 33 IoT on the Data
* Foundry platform.
*
* Developed by Mathias Funk
**************************************************************************/
Expand Down
2 changes: 1 addition & 1 deletion dist/oocsi/library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=OOCSI
version=1.5.1
version=1.5.2
author=Jort Band, Mathias Funk
maintainer=Mathias Funk <[email protected]>
sentence=OOCSI client library for the ESP32, ESP8266 and Arduino NANO 33 IoT
Expand Down

0 comments on commit 35c5c2b

Please sign in to comment.