You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I find that in atc_command function we erase rx_Buffer whit atc empty(atc); commands before copy data from rx_Bufferto to Auxiliary buffer .for debugging this issue I added a bit field like uint8_t http_read_start :1 ;
and set it in gsm_gprs_httpRead function before sending at command and reset it at end of function
Next in atc_empty function check this bit feild like this
I find that in atc_command function we erase rx_Buffer whit atc empty(atc); commands before copy data from rx_Bufferto to Auxiliary buffer .for debugging this issue I added a bit field like
uint8_t http_read_start :1 ;
and set it in gsm_gprs_httpRead function before sending at command and reset it at end of function
Next in atc_empty function check this bit feild like this
void atc_empty(atc_t *atc) { if(atc->http_read_start==0) { memset(atc->rxBuffer, 0, _ATC_RXSIZE); atc->rxIndex = 0; } }
The text was updated successfully, but these errors were encountered: