Skip to content

1.6 drop_transaction_data algorithm seems incorrect #1165

@hikinggrass

Description

@hikinggrass

OCPP Version

OCPP1.6

Describe the bug

The drop_transaction_data data algorithm in lib/ocpp/v16/utils.cpp should drop every second message (except the first and last) but in my testing seems to behave a bit stragely. When I tested it with 5 messages it kept message 1, 4 and 5 but I would expect it to keep 1, 3 and 5

To Reproduce

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions