volkszaehler / libsml

Implementation in C of the Smart Message Language (SML) protocol
GNU General Public License v3.0
88 stars 49 forks source link

deprecate / replace `sml_transport` API #147

Open r00t- opened 8 months ago

r00t- commented 8 months ago

the sml_transport API is far too primitive to be useful, sml_transport_read() does not have any provision to keep state between invocations, and no way to return more detailed information. (it can only return an int, and only write to stderr (see https://github.com/volkszaehler/libsml/issues/17 )