Skip to content

add possibility to have a callback that take in argument the AxdrCaptures instead of the obis string and transformed value #4

@doreille

Description

@doreille

Thank you for this excellent library.

It would be great if we could access the reference to the AxdrCaptures object from the "cooked_cb" callback function, or even better, if there were a "DlmsParser::parse_raw" method whose callback took only the reference to the AxdrCaptures object as an argument.

The reason is that the user may need the obis code as a binary value rather than a string, or the exact numerical value. Converting all numeric values to float32 can result in a loss of precision.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions