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 optional IdTagInfo in SendLocalList for deleting entries #152

Merged
merged 1 commit into from
Aug 15, 2021

Conversation

jmluy
Copy link
Contributor

@jmluy jmluy commented Aug 12, 2021

Fixes #151

As per the OCPP 1.6 specs, IdTagInfo in AuthorizationData is optional when doing a SendLocalList with differential UpdateType to delete the entry.

From 7.1
Optional. (Required when UpdateType is Full) This contains information about authorization status, expiry and parent id. For a Differential update the following applies: If this element is present, then this entry SHALL be added or updated in the Local Authorization List. If this element is absent, than the entry for this idtag in the Local Authorization List SHALL be deleted.

Copy link
Member

@TVolden TVolden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good solid code.

@TVolden TVolden merged commit fedca97 into ChargeTimeEU:master Aug 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Getting exception when setting delete in SendLocalList with differential update
2 participants