olliiiver / sml_parser

Low memory C++ library to parse Smart Message Language (SML) data from smart meters.
GNU Lesser General Public License v2.1
34 stars 15 forks source link

Multiple parsers on one ESP? #34

Open kvoit opened 5 months ago

kvoit commented 5 months ago

Hi, great work, I have this successfully running on an ESP32-C3 for a while now, thanks a lot! For a new project, I would like to read two meters, and with one SoftSerial and Serial2, this does not seem to be an issue for a single ESP32. Do I see correctly that this is not possible with library due to the static state variables?

olliiiver commented 5 months ago

Hi @kvoit. You are right. That would mean we must improve memory management.