Connect to Thinger Clould from RTOS



I am able to connect to Thinger Cloud using SIM800C using the library available on Github.

My require ment is that i have to connect to the thinger Cloud and
post that data every 1 second.There is dedicated task created in
RTOS for posting data to thinger which is activated every 1 second.
This task is activated but data is not getting sent.

There some more higher priority tasks which are configured
to activate at a shorter span of time. We are using premptive
scheduling mechanism

Only function to be called in the task body is


which is generally called in in loop() function in a non-RTOS