Skip to content

SSL Issue when trying to append values using FreeRTOS. #40

Discussion options

You must be logged in to vote

I don't know what the problem is but,

  case process_POST_Sensor:
#if __USE_SERIAL_DEBUG__
      Serial.printf(FILE_TAG "Publish Sensor data, state -> %d\n", state);
#endif
      if (check_sheets_ready()) {
        append_values_aht(__date__, __time__, process_val.aht_temp.temp, process_val.aht_temp.rh);
      }
      state = process_IDLE;
  }
  vTaskDelay(pdMS_TO_TICKS(10));  //task delay in ms
}

Instead of this approach, I created a separate task within case process_POST_sensor which would append the value of the sensor and then called vTaskDelete(NULL). Somehow this approach works and I can add all the values to the sheets. Not sure why the previous one wasn't working

Replies: 1 comment 18 replies

Comment options

You must be logged in to vote
18 replies
@mobizt
Comment options

@roshanyadav29
Comment options

@roshanyadav29
Comment options

@roshanyadav29
Comment options

Answer selected by roshanyadav29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
help wanted Extra attention is needed
2 participants