src/cloud.c
void cloud_resetSessionStatus(CLOUD_SESSION_T *s)
{
   cloud_setSessionStatus(s, CLOUD_SESSION_IDLE);
   s->errorCode = 0;
   s->totalBytesRcvd = 0;
   s->totalBytesSent = 0;
   s->httpStatus = 0;
   s->recvComplete = false;
   s->timeout = false;
}
//!
//! Reset the full status of a given session.
//!
//! Typically called in between operations (states) to reset the session
//! to idle, clear error counts and number of bytes sent/received.
//!
//! @param[in] *s pointer to a Cloud session structure object.
//!

Reset the full status of a given session.
Typically called in between operations (states) to reset the session
to idle, clear error counts and number of bytes sent/received.
Reset the full status of a given session . Typically called in between operations ( states ) to reset the session to idle clear error counts and number of bytes sent / received .
void cloud_resetSessionStatus(CLOUD_SESSION_T *s)
{
   cloud_setSessionStatus(s, CLOUD_SESSION_IDLE);
   s->errorCode = 0;
   s->totalBytesRcvd = 0;
   s->totalBytesSent = 0;
   s->httpStatus = 0;
   s->recvComplete = false;
   s->timeout = false;
}
void cloud_resetSessionStatus ( CLOUD_SESSION_T * s ) { cloud_setSessionStatus ( s , CLOUD_SESSION_IDLE ) ; s -> errorCode = 0 ; s -> totalBytesRcvd = 0 ; s -> totalBytesSent = 0 ; s -> httpStatus = 0 ; s -> recvComplete = false ; s -> timeout = false ; }
Reset the full status of a given session.
Reset the full status of a given session .