ostaquet / Arduino-SIM800L-driver

Arduino driver for GSM/GPRS module SIMCom SIM800L to make HTTP/S connections with GET and POST methods
MIT License
133 stars 61 forks source link

after update getSignal() return zero and block module to connect #62

Closed becher closed 5 months ago

becher commented 1 year ago

please fix this code


 int16_t idxBase = strIndex(internalBuffer, "AT+CSQ");
    if(idxBase != 0) {
      return 0;
    }

solution :

 int16_t idxBase = strIndex(internalBuffer, "+CSQ: ");
    if(idxBase < 0) {
      return 0;
    }

is worked for me :)

ostaquet commented 6 months ago

I saw some issues lately like this one. It seems that SIMCom changed some AT answers.

Thanks for the fix!

Can you tell me the hardware you're using and the firmware version?

ostaquet commented 5 months ago

As mentioned in the README, the project is no longer maintained as my module is broken. Thanks for reporting the issue.