Skip to content

Fix OCTT test cases#344

Merged
matth-x merged 11 commits intomainfrom
fix/octt_v16
Jul 26, 2024
Merged

Fix OCTT test cases#344
matth-x merged 11 commits intomainfrom
fix/octt_v16

Conversation

@matth-x
Copy link
Owner

@matth-x matth-x commented Jul 26, 2024

This PR contains fixes for passing the OCTT test cases. A big shout out to @heakins who contributed back the patches to MicroOCPP!

For more information on the fixed issues, see the detailed commit messages.

The fixes addressing the rejection of SendLocalList, GetLocalListVersion and UnlockConnector have already been superseded on main. To disable Local Authorization Lists, set the build flag MO_ENABLE_LOCAL_AUTH=0. The connector lock support is already disabled by default.

heakins and others added 11 commits July 26, 2024 10:23
From the OCPP Spec:
> The Charge Point SHOULD NOT send StatusNotification.req PDUs for
> historical status change events that happened while the Charge
> Point was offline.

So, each time we queue another StatusNotification, we drop the
StatusNotifications already in the queue for that connector.
Setting them to inOperative causes the status to change to
Unavailable.

The OCPP Test Spec and OCTT requires the Status to change to
Finishing when a Reset has been recieved.
Should allow an ID Tags with the same parent ID Tag to
start/stop transactions together.

- Associate parent ID Tag with a transaction if known.
- If a transaction is underway, and an ID tag is swiped which
  doesn't match the one that started the transaction, then submit
  an Authorize request.
- If the Authorize request is accepted, and if it contains a
  matching parent ID tag with the transaction, then end the
  transaction.
According to the test spec, you need to return Rejected if
you don't support DataTransfer. Returning Unimplemented is not
valid.
Interval duration configuration should not be allowed to be set to
negative values, according to the spec.
@matth-x matth-x merged commit af66b0a into main Jul 26, 2024
@matth-x matth-x deleted the fix/octt_v16 branch July 26, 2024 15:12
@matth-x matth-x mentioned this pull request Nov 6, 2024
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.

2 participants