Closed vzahradnik closed 3 years ago
It should be resolved in #4351607. However, please note that if the user uses GSM::GSM(...)
constructor other than the one which requires Stream
pointer, the Adeon code can still clash with other libraries.
Adeon uses Serial2
on ESP32 and Arduino Mega.
In all cases, where fine control is required, users should pass a reference to the Stream
object.
I gave Adeon SIMlib a reference to
Serial1
, and yet it was also affecting other device onSerial2
. After I modified (and simplified) the code, everything worked fine.Also,
HardwareSerial
andSoftwareSerial
inherit from theStream
class. The code can be heavily simplified.