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

OCPP 2.0.1 Test case TC_E_04 Local start transaction - Authorization first - Success #761

Open
rstanchak opened this issue Aug 27, 2024 · 1 comment

Comments

@rstanchak
Copy link

rstanchak commented Aug 27, 2024

OCPP Version

OCPP2.0.1

Describe the problem

The purpose of TC_E_04 is to verify if the Charging Station is able to start a charging session when the EV driver first presents a form of identification, before connecting the EV and EVSE.

It is not clear how to satisfy this test case with libocpp on a multi-connector station because on_transaction_start has mandatory evse_id and connector_id arguments.

Am I missing something? I've replicated the test case and reusable state below for reference.

TC_E_04

image

Authorized (Local) reusable state

image

Describe your solution

No response

Additional context

TC_E_04 is a mandatory test case for OCPP 2.0.1 core profile certification.

@Pietfried
Copy link
Contributor

Hi @rstanchak, thanks for reporting this issue. Currently the API of libocpp requires that the user application knows for which evse_id and connector_id the authorization is given. Inside libocpp a transaction is linked to an EVSE when it is started and therefore this information is required. Looking at the specification I found E01.FR.16:

After the EV is connected with the
Charging Station The next TransactionEventRequest SHALL contain evse.id AND
evse.connectorId.

So the issue you described is indeed present and we will work on making the API more flexible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants