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 1.6 & 2.0 Both #142

Open
haresh1288 opened this issue May 6, 2021 · 5 comments
Open

OCPP 1.6 & 2.0 Both #142

haresh1288 opened this issue May 6, 2021 · 5 comments

Comments

@haresh1288
Copy link

Can you please provide the guide how to use 1.6 & 2.0 both OCPP version with single Server

@TVolden
Copy link
Member

TVolden commented Jun 30, 2021

Hi @haresh1288,

Sorry for the slow reply. Right now, it's only possible to run 1.6 and 2.0 in two different processes with individual ports if you want to have them on one server.

  • Thomas

@bantu
Copy link
Contributor

bantu commented Jul 19, 2021

@TVolden
Copy link
Member

TVolden commented Jul 20, 2021

Hi @bantu,

Well to be honest I can't remember the exact reason. It's been so long since I worked on it, and I can't find anything in my notes. Sorry about that. I faintly remember some problems with choosing protocol maybe? How does the client tell the server which protocol it supports?

There is some overlaps with the class definitions/names if you load both libraries, but that should be possible to solve.

@bantu
Copy link
Contributor

bantu commented Jul 20, 2021

Hello @TVolden. I was considering running an OCPP 1.6 and an OCPP 2.0 central system within the same JVM. In this case, the client could simply select which protocol to use by specifying the corresponding backend URL.

@robert-s-ubi
Copy link
Contributor

FWIW, OCPP-J should even allow offering both under the SAME URL, as the supported OCPP versions are put in the WebSocket header.

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

4 participants