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

Design issue in ApiFactory.ocpp15ConnectionToCSMS #53

Open
lilgallon opened this issue Dec 26, 2023 · 0 comments
Open

Design issue in ApiFactory.ocpp15ConnectionToCSMS #53

lilgallon opened this issue Dec 26, 2023 · 0 comments

Comments

@lilgallon
Copy link
Member

When calling ocpp15ConnectionToCSMS, a client and a server are created. The issue is that in these two cases clientPath is not used the same way. In the client, it is used to build the from header following "$clientPath:$clientPort". Whereas in the server it is used as a path. So to call the server, this route is expected: "localhost:$clientPort/$clientPath.removeSuffix("/")

Two parameters should be used in the lib to make a difference. Otherwise we cannot use ocpp15ConnectionToCSMS as client and server at the same time.

It may be the same issue for 16 and 20

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

No branches or pull requests

1 participant