sml_parser icon indicating copy to clipboard operation
sml_parser copied to clipboard

Low memory C++ library to parse Smart Message Language (SML) data from smart meters.

Results 8 sml_parser issues
Sort by recently updated
recently updated
newest added

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...

Hey, unfortunately there is no parser function to parse the device id of an smart meter. **0x01, 0x00, 0x00, 0x00, 0x09, 0xff** **96.1.0** Other parsers just print out the raw...

Hi, im trying to Generate the OBIS Handlers dynamically to switch between different smart meter types. Is there a working solution to achive this? Ive spend a lot of time...

I had two compile and link errors during build, this is how I resolved: 1. 'LMIC_UNUSED_PIN' was not declared in this scope: add include for u1_t type in file src/hal/hal.h,...

Thank you for your efforts. You provide an example for a HELTEC LoRa32 **v2** device using LMIC library. In the meantime a **v3** device is out with other CPU (ESP32-S3)...

https://github.com/olliiiver/sml_parser/blob/ca76a0ac017601731d57d1078d0c92e730043d13/src/sml.cpp#L90-L93 Suppose `currentLevel = MAX_TREE_SIZE - 1` at Line 90. Then, `currentLevel = MAX_TREE_SIZE` at Line 92, which leads to the following overflow bug. ``` ==269918==ERROR: AddressSanitizer: global-buffer-overflow on address...

This lib makes heavy use of pass by reference, even where it is not necessary or even counterproductive. For example since `smlState` expects a `unsigned char &` one can not...

Hi, thanks for that great lib. Worked out-of-the-box with my MT691. I'd like to use your lib for a generic SML-to-KNX device (https://github.com/OpenKNX). For that, I would like to implement...