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

Allow listVersion 0 in SendLocalListRequest #201

Merged
merged 1 commit into from
Aug 19, 2022

Commits on Aug 18, 2022

  1. Allow listVersion 0 in SendLocalListRequest

    The OCPP 1.6 specification mentions no explicit value range for the
    listVersion field in the SendLocalListRequest, but specifies that 0
    should be returned as the version in case the list is empty. Now there
    is no message to clear the local authorization list, so clearing the
    list can only be achieved with a SendLocalListRequest with an empty
    list, and that is a use case for listVersion 0. In fact the OCPP
    certification test tool employs such requests.
    
    Change SendLocalListRequest to allow listVersion 0 rather than only 1 or
    higher, and adapt the unit test accordingly.
    
    While at it, bump the version in build.gradle to "1.1" to match the one
    from pom.xml.
    robert-s-ubi committed Aug 18, 2022
    Configuration menu
    Copy the full SHA
    5434490 View commit details
    Browse the repository at this point in the history