Skip to content

Decoding frame data #200

Open
Open
@rtborg

Description

@rtborg

I'd like to use libmbus in a C project, where data is pulled from a device and sent through another interface. Is there a way to parse/extract all data points from a telegram in a loop? Something like this:

foreach(data d in mbus_frame)
    char *data_type = mbus_frame.next_data_type()
    char *data = mbus_frame.next_data()

Edit: I am porting libmbus for use in an embedded device which does not have a lot of RAM, so my intent is to iterate over the data and send each record out as raw bytes, no decoding.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions