

Please check below attached consol output, I am using Neoway-N58 GSM module interface with esp32 wrover E kit and pppos with ESP NAT router murge example code run when i compile and execute code than its get below output,įirst i connect wifi with esp NAT router than i enter show command in consol than PPPos start but after pppos start by ATD*99# command than AT0 command execute i want to know how this happen,Īnd also please let me know how can we work on pppos and esp_NAT_router wifi mode simultaneously, Not sure if the problem is really a hw issue or just the baudrate was too fast that internal libraries couldnt take that speed. Gsm module works at 115200 by default, so I changed to 57600 still having bad FCS, then changed to 38400 and it worked It's true that UART lines from ESP32 to module are relatively large (10 cm) * Note: If you get lots of these, check for UART frame errors or try different baud rate */ To make you an idea, I'm printing debug messages in each of the conditionals 'if' and when GSM gets stuck downloading, can't see more messages there.ĮDIT: so in the library there's this comment (refering to Dropping bad FCS)

If( ret 0) & (!resp_body_start) ) /* reading header first and a piece of body */Įlse if( (ret > 0) & (resp_body_start) ) /* already read the header, reading body */

If(ret = MBEDTLS_ERR_SSL_PEER_CLOSE_NOTIFY) If(ret = MBEDTLS_ERR_SSL_WANT_READ || ret = MBEDTLS_ERR_SSL_WANT_WRITE) Ret = mbedtls_ssl_read(&ssl, (unsigned char *)bufferRead, len)
