mirror of
https://github.com/airgradienthq/arduino.git
synced 2025-12-18 13:06:53 +01:00
Post measures through cellular payload based on extendedPmMeasures config
This commit is contained in:
@@ -1428,7 +1428,7 @@ void postUsingCellular(bool forcePost) {
|
|||||||
xSemaphoreGive(mutexMeasurementCycleQueue);
|
xSemaphoreGive(mutexMeasurementCycleQueue);
|
||||||
|
|
||||||
// Attempt to send
|
// Attempt to send
|
||||||
if (agClient->httpPostMeasures(payload) == false) {
|
if (agClient->httpPostMeasures(payload, extendPmMeasures) == false) {
|
||||||
// Consider network has a problem, retry in next schedule
|
// Consider network has a problem, retry in next schedule
|
||||||
Serial.println("Post measures failed, retry in next schedule");
|
Serial.println("Post measures failed, retry in next schedule");
|
||||||
return;
|
return;
|
||||||
|
|||||||
Submodule src/Libraries/airgradient-client updated: c23bb2ceac...0a2ff8abbb
Reference in New Issue
Block a user