Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support arduino? #148

Open
r00t- opened this issue Mar 7, 2024 · 0 comments
Open

support arduino? #148

r00t- opened this issue Mar 7, 2024 · 0 comments

Comments

@r00t-
Copy link
Collaborator

r00t- commented Mar 7, 2024

many architectures supported by arduino should be capable of running libsml.
(probably not 8-bit MCUs, but esp8266/esp32 for example.)
somebody posted a version of libsml adapted as an arduino library here: https://forum.arduino.cc/t/libsml-parsing-smart-meter-language-protocol/1149684
sadly they posted the code only as a zip file.
the changes seem to be:

  • adding a usage example, library.properties and README
  • moving all files into a single directory (and adjusting include paths)
  • converting all files to use CRLF newlines instead of just CR (DOS vs. unix), probably not intentionally
  • adjust printf format strings to use %lX instead of %X
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant