skorokithakis / A6lib

An ESP8266/Arduino library for communicating with the A6 GSM module. ⛺
MIT License
127 stars 49 forks source link

+CLCC scrambled charters for answer #42

Open bmwfarmer opened 3 years ago

bmwfarmer commented 3 years ago

I'm tring to run gsm relay with A6 module and run into stability issues with A6lib. ProMicro board, SoftwareSerial. I'm using "A6l.checkCallStatus();" function to extract "cinfo.number", so I could see who is calling before answering. In serial monitor I got randomly scrambled charters between RING. So far I have found two things to make it run better:

  1. in A6lib.cpp change A6conn->setTimeout(100); to A6conn->setTimeout(20);
  2. hold your finger on some A6 module grounded part, so some EMC isssue

Feel free to: verify, comment, help further.

skorokithakis commented 3 years ago

Hmm, unfortunately I haven't used this library in a while, so I won't be able to help much. It does sound like fixing your EMC issues might help, though.