vshymanskyy / TinyGSM

A small Arduino library for GSM modules, that just works
GNU Lesser General Public License v3.0
1.97k stars 726 forks source link

Cannot Connect to the BLYNK Server!!! #528

Open Manu-dewa opened 3 years ago

Manu-dewa commented 3 years ago

Hello

I am using an esp32 with a SIM800C module and wired hardware serial lines according to the TTGO T-CALL board.

i am using example blynk code provided by this link - https://github.com/Xinyuan-LilyGO/LilyGo-T-Call-SIM800/tree/master/examples/Arduino_BlynkClient

All the AT commands working without an issue.

The issues rises when i tried use the example blynk code (in the above link). i get an error. (Unhandled : CIPSTATUS) and repeates that error over and over.

Below link houses the error i am getting and it is screen capture of the my serial monitor

i am using tinygsm version - 0.10.9 blynk version - 0.60 arduino version - 1.8.12

Capture

SRGDamia1 commented 3 years ago

It looks like it's probably chopping up the +CIPSTATUS response into two responses of + and CIPSTATUS and then not recognizing it as the proper response. Try adding a very small "yield" (delay) for TinyGSM: add #define TINY_GSM_YIELD_MS 2 to the top of your program. That sometimes helps (or is needed) when you have a relatively fast processor (like the ESP32), especially if you're using the SIM800's default 9600 baud.

Manu-dewa commented 2 years ago

@SRGDamia1 sorry that didnt work still the same issue