I've a "little" problem with a couple of devices on a Arduino Pro Mini.
I use these devices (Sim800L GSM and Adafruit GPS shields) throught 2 SoftwareSerial objects; individually they works fine, but together there are a lot of problems to get messages.
I tried to put the ports in listen() individually, but without great results; from Arduino documentation I understood that there is just one serial buffer shared among SoftwareSerial objects; so, when GPS starts to push its messages, GSM data are continuously overwritten.
I did a lot of tries, but I'm new in Arduino world; I did not obtained any results.
Any ideas? Anyone already saw this problem?
Thanks in advance
If using multiple software serial ports, only one can receive data at a time.
. So.. You can't listen from both serials. Use a hardware serial and a software serial, or better two hardware serials, Or take the source code of the software serial, understand how it works, rewrite it to handle two rx and, possibly, share it when it works – frarugi87 Mar 3 at 10:09