carrascoacd / ArduinoSIM800L

Arduino HTTP & FTP client for SIM800L/SIM800 boards to perform GET and POST requests to a JSON API as well as FTP uploads.
158 stars 58 forks source link

Listening serial before executing AT commands #3

Closed sandrocsimas closed 7 years ago

sandrocsimas commented 7 years ago

SoftwareSerial has some limitations when you have multiple SoftwareSerial in your Arduino code: https://www.arduino.cc/en/Reference/softwareSerial.

If using multiple software serial ports, only one can receive data at a time.

According to: https://www.arduino.cc/en/Reference/SoftwareSerialListen

Enables the selected software serial port to listen. Only one software serial port can listen at a time; data that arrives for other ports will be discarded. Any data already received is discarded during the call to listen() (unless the given instance is already listening).

carrascoacd commented 7 years ago

Nice, thank you for the improvement !